Today's Question:  What's your opinion about Alibaba mooncake incident?        GIVE A SHOUT

Technical Article => Operating System =>  Linux/Unix

My frequently used Linux commands

  sonic0002      2012-08-16 15:09:42      2,544    0    2

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.

PROGRAM LINUX COMMAND

  SAVE AS PDF   MARK AS READ   MARK AS IMPORTANT

  RELATED


  0 COMMENT


No comment for this article.


  WRITE ARTICLE

The truth of cloud

By sonic0002