Tuesday, July 26, 2005

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

No comments:

Total Pageviews

Reading List - 05-Mar-23

Talking to #AI may be the most important job skill of this century ( JohnGoodPasture ) Role of account management over the years. It’s a ro...