Basic Linux commands and its uses
Following are the basic linux commands, getting familiar with below commands will help beginner in linux administration.
Each command has a extensive manual page for it. We can review the man page using syntax as below,
#man <command_name>
ssh - connect to another server over network
syntax: ssh server_name
ls - list files and directories.
syntax: ls
pwd - print present working directory
syntax: pwd
cat - read contents of file without editing the file
syntax: cat file_name
vi - view/edit contents of a file.
syntax: vi file_name
rm - remove / delete a file
syntax: rm file_name
rmdir - remove / delete directory and its contents
syntax: rmdir directory_name
cp - copy a file from one location to another
syntax: cp source_file destination_path
cd - change directory to given path
syntax: cd destination_path
grep - find a particular pattern in given file
syntax: grep test filename.txt
yum - Install / remove /update packages/softwares.
syntax: yum install package_name
yum remove package_name
yum update package name