Skip to main content

Common UNIX Commands

I just decied to look for a few commonly used UNIX command. A quick Google produces a lot more, but here are a list of more useful commands.

  1. cd - Change Directory. (Just like in dos)
  2. mkdir - Make Directory.
  3. rmdir - Removes a Directory that is empty!
  4. ls - List directory. (Like dir in Windows)
  5. cat – Short for concatenate. It was used to concatenate two filestogether via cat file1 file2 >file3 Didn‘t know that did you. Theechoing out to standard out gave cat a whole new meaning to the users.
  6. more - Just like less. It pages output to the screen.
  7. mv - Move. For moving files and directories around
  8. rm Remove a file. Also rm rf for removing a folder and it‘scontent.
  9. grep - Used to search for text within a stream or files. (man regex)
  10. vi – A text based editor. You‘ll find that it‘s really a symboliclink to vim now a days.
  11. rlogin - Remote login. I hope your admins disabled this!
  12. passwd - Used to change your password.
  13. ps - Used to processes.
  14. nice - Run a program with lower priority so you don't hog CPU.
  15. kill – Terminates a program. You can select what signal you want tokill a program with also. -9
  16. gzip - Compresses files.
  17. gunzip - Uncompresses files.
  18. tee – Pipe your output to standard out and to a file. Nice forwatching a process and logging.
  19. sort - A sort program
  20. sed – Stream Editor. Excellent program to modify files or streams!(man regex)
  21. uniq - Unique program.
  22. awk – An excellent program to parse up streams or files into tokens.It supports a hellva lot of cool things and you can complete writeprograms with it. (man nawk also)
  23. chgrp - Change Group
  24. chown - Change owner
  25. pwd - Current working directory.
  26. find – Used to find programs and you can also execute commands oneach match found.
  27. wc - Word, line, letter count program. For you line counting whores.
  28. which - Finds a location of a program that's in your path.
  29. last - See who last logged in.
  30. du - Disk usage.
  31. df - Disk Free
  32. top – Running processes with CPU and other information thatrefreshes.
  33. watch – Repeats a command and updates the screen with only thechanges
  34. login - Logging in
  35. telnet - Connect to another machine
  36. logout - Logging out
  37. emacs - Using the emacs text editor
  38. cp - Making a copy of a file
  39. chmod - Controlling access to your files
  40. cmp - Comparing two files
  41. compress - Compress a file
  42. pine Using Pine to send and receive email
  43. mush - The mush electronic mail system
  44. talk - Talk to another user
  45. write - Write messages to another user
  46. ftp - Transferring files with ftp
  47. man - Manual pages
  48. quota v Finding out your available disk space quota
  49. ical - Using the Ical personal organizer
  50. finger - Getting information about a user
  51. who - Finding out who's logged on
  52. lpr - Printing
  53. lprm - Removing a print job
  54. lpq - Checking the print queues
  55. ps - Finding your processes
  56. kill - Killing a process
  57. nohup - Continuing a job after logout
  58. nice - Changing the priority of a job
  59. & - What is a background process?
  60. Cntrl-z - Suspending a process
  61. fg - Resuming a suspended process

Comments

Popular posts from this blog

Installing Bugzilla on Windows

Bugzilla is the Bugs/Issues Tracking Tool from The Mozilla Organization. Version 2.18 is the latest stable release. There are couple of resources which guide a User installing Bugzilla on a Unix/linux machine. However, this entry describes a way to install Bugzilla on a Windows machine (W2K to be precise). This document guides you step by step through the installation process. First, get Administrative access to the machine on which you want to install Bugzilla. It should be a simple step. Usually, Users are given Administrative rights on Windows machine. However, if you dont have, contact your Administrator. Get Bugzilla Then download the Bugzilla from http://bugzilla.org/download.html . There are two ways of gettng it - through CVS or direct downloading the tar file. Remember there are no Zip files. However, any zip utility should be able to untar the Bugzilla. I download the tar file and untarred it using WinZip. I placed the untarred 'bugzilla' directory in my c: drive. So...

Online Hindi Radio Stations

Here is the list of Online Hindi Radio Stations. Copy the URL in your media player and enjoy !! 106.2 HUMFM - UAE ==> http://www.humfm.com/humfm.asx AajKal - Asian Network ==> http://stream.servstream.com/ViewWeb/BBCRadio_music/Event/BBCAsianNetwork_hi.asx Amrit Bani - UK ==> http://62.25.97.192/amritbani?MSWMExt=.asf ApnaRadio - USA ==> http://www.apnaradio.com/live/media24/ApnaRadio.asx Asian Gold Radio - UK ==> http://62.25.96.7/asiangold Asian Sound Radio - UK ==> http://www.vtuner.com/vtunerweb/mms/mms15278.asx BBC News ==> http://www.bbc.co.uk/worldservice/meta/tx/nb/live_news_au_nb.asx BombayBeats FM ==> http://www.1.fm/player/energybbfm32k.asx City 101.6 FM - Dubai ==> http://asx.abacast.com/arabian_radio-city-24.asx DDLive Video - India ==> http://164.100.51.209/ddlive?MSWMExt=.asf DesiSoundz - India ==> http://desisoundz.com:8000 Haagstad Radio - Holand ==> mms://81.205.146.32:21/haagstadradio kismatradio.com ==> http://www.kismatradio....

What are the different type of JDBC drivers?

There are four types of JDBC database driver: The JDBC/ODBC bridge driver (Type 1) A piece of native C-code that translates a JDBC call to an ODBC call. Use this driver for development, not for industrial-strength application environments. Note that you have to have an ODBC database driver manager + an ODBC database driver installed on the server in addition to the JDBC/ODBC bridge. Though useful for learning JDBC and quick testing, bridging solutions are rarely appropriate for production environments. Native API partly java driver (Type 2) A piece of native C-code that translates a java JDBC call to a native database call level API. Use this driver for development and deployment. Due to its native code, this driver can only be used by Java Applications with full computer access (i.e. not Applets). Type 2 drivers generally provide the best performance, but they require the installation of native libraries on clients that need to access the database. Applications using Type 2 drivers ...