Thursday, July 18, 2013

Useful Commands Linux OS


Useful Commands Linux OS

Rm : To remove a empty file.

Useful Commands Linux OS

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 Commands Linux OS


No comments:

Post a Comment

Linux Tips and tricks,Online Linux Helpers