Common Unix Commands !!

Started by ram, Jul 18, 2008, 04:20 PM

Previous topic - Next topic

ram

Hi [you],

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.