alt
Advertisement
Sponsored links
Online Training
Career Series
Exforsys
Exforsys arrow Tech Articles arrow UNIX arrow Common Unix Commands
Site Search


Common Unix Commands
The following is a listing of some common Unix commands. 
  1. awk [options][filename]  : A pattern matching program
  2. cat [options] filename  : Prints the contents of a file to the screen.
  3. cd [directory] : Change directory.
  4. chmod [options] filename : Modify file or directory permissions.
  5. clear: Clear the screen.
  6. cmp [options] filename1 filename2 : Compare the contents of two files.
  7. compress [options] filename : Compress a file.
  8. cp [options] filename1 filename2 :Copy a file.
  9. crypt [password] : Encrypt and decrypt the contents of a file.
  10. date [options] : Shows the time and date.
  11. diff [options] filename1 filename2    Shows differences in files.
  12. emacs [options] filename        A Unix text editor.
  13. file [options] filename                                       Classify files by type.
  14. finger [options] username                              Display information about  local and remote users.
  15. ftp [options] host File Transfer Protocol.
  16. grep [options] string filename    Search file for string.
  17. head [options] filename Display the first lines of a file.
  18. ispell [options] filename Check the spelling of a file.
  19. kill [options] pid Kill a process.
  20. less [options] A more powerful more.
  21. lp [options] filename Print a file.
  22. ls [options] [filename] Displays the contents of a directory.
  23. man [options] command The Unix help command.
  24. mh any mh command A Unix mail program.
  25. mkdir [options] directory Make directory
  26. more [options] filename Displays file contents.
  27. mv [options] filename target Move file to target.
  28. nice [-n] command [arguments] Execute command with a lower
  29. CPU scheduling priority.
  30. passwd [options] Changes your Unix password.
  31. ps [options] Prints information about active processes.
  32. pwd Prints the current directory.
  33. rlogin [options] hostname Establishes a remote login session.
  34. rm [options] filename Deletes a file.
  35. rmdir [options] directory Deletes a directory.
  36. rsh [options] hostname [command] Connects to the specified hostname and executes the
  37. specified command.
  38. script [filename] Writes everything printed on your screen to filename.
  39. sed [options] filename A stream editor.
  40. sort [options] filename Sorts contents of a file.
  41. tail [options] filename Displays last lines of file.
  42. tar key [options] filename(s) Tape archiver. Compresses and stores files.
  43. telnet [hostname [port]] Communicates with another host.
  44. touch [options] [date] filename Creates an empty file.
  45. uncompress filename.Z Uncompresses a file.
  46. uudecode filename Converts a uuencoded file.
  47. uuencode [filename] newfilename Converts a file to ASCII.
  48. vi [options] filename A Unix text editor.
  49. view [options] filename Read only version of vi.
  50. w [options] [user] Displays the current activity on the system.
  51. wc [options] filename(s) Counts lines, words, and characters in files.
  52. whereis [options] filename Locates source/binary and man pages for filename.
  53. which [filename] Locates executable files.
  54. who [options] [filename] Displays information about current system users.
  55. zcat [filename.Z] A compression program.

Trackback(0)
Comments (5)add comment

itzsug said:

  :) nice and useful
June 12, 2004

kkomaha said:

  good one
July 07, 2004

kkomaha said:

  good one
July 07, 2004

jaideepgholkar said:

  very good one
July 24, 2004

suresh2479 said:

 
October 18, 2004

Write comment

busy
 
< Prev   Next >
Exforsys Offers
© 2008 Exforsys.com
Joomla! is Free Software released under the GNU/GPL License.
Page copy protected against web site content infringement by Copyscape