Today's Question:  What weekend projects have you created?        GIVE A SHOUT

Technical Article => Operating System =>  Linux/Unix

My frequently used Linux commands

  sonic0002      2012-08-16 15:09:42      3,118    0

In our day to day work. We may have many chances working on Linux/Unix systems. There are many things we may need to do, checking logs, navigating in directories, creating file or installing software. We may use many commands to complete the work, such as ls, mkdir, cd etc.

Below are my frequently used Linux commands or programs recently:

  • pwd : print working directory, sometimes I need to check which working directory I am in in order to know where to go next.
  • ls : List current directory files, before I can operate on a directory, I need to know what are in the directory so that I may not delete something accidently.
  • cd : Change directory, change working directory.
  • cat : Concatenates of files and display contents on standard output.
  • grep : Search some contents in some files and display the matched contents.
  • find : Find files in a directory
  • head : Display first few lines of a file
  • tail : Display last few lines of a file
  • touch : Change file timestamps.
  • sed : Perform basic text transformations
  • jobs : Check running jobs
  • ps : Check running processes
  • kill : Kill specified process
  • alias : Check alias defined on the system
  • bg : Bring a job to background
  • fg : Bring job to foreground
  • date : Check system time
  • mkdir : Create new directory
  • mv : Move files or rename files or archive files
  • wc : Word count or count line

There are more commands I may use in the future and I may update them here.



Share on Facebook  Share on Twitter  Share on Google+  Share on Weibo  Share on Reddit  Share on Digg  Share on Tumblr    Delicious



No comment for this article.


X as a service

By sonic0002
According to Chris Dixon, Every Unix command eventually become an internet service. Grep->Google, rsync->Dropbox, man->stack overflow, cron->ifttt ... sudo is NSA, LOL