Wednesday, March 20, 2013

Useful Linux Commands


Useful Linux Commands

  • Rm : To remove a empty file.
  • rmdir: To remove a empty directory.
  • CP : To copy something in a destination file or directory.
  • Mv : To move one file or directory from one place to another place, it is also used for renaming a directory or file.
  • Man : To view the manual page of commands for syntax.
  • Info : To view the information about any command.
  • --help :To view the help documents of a command.
  • Dir :To view the subdirectories and filesn under the directory.
  • su - To become a super user
  • who : By this command you can see the user name and their ip addresses who have logged in on your server.
  • Who am i : This command shows your current logged in terminal user name.
  • pwd: To view the present working directory.
  • rpm -ivh : To install a rpm package
  • rpm stands for 'redhat package manager'

-i stands for install
-v stands for verbose mode
-h stands for with hash sign(#)

Useful Linux Commands

No comments:

Post a Comment

Linux Tips and tricks,Online Linux Helpers