My frequently used Linux commands

  sonic0002        2012-08-16 15:09:42       5,109        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.

LINUX  COMMAND  PROGRAM 

       

  RELATED


  0 COMMENT


No comment for this article.



  RANDOM FUN

Texting in class

How to send SMS safely in class. New skill get