Create new tar archive
#tar -cvf file.tar /directoryname
Extract from existing tar archive
#tar -xvf file.tar
Create zip for folder
#zip -r directory.zip /directoryname
To extract .zip compressed file
#unzip file.zip
Goto paritcular line of file
#vim +10 file.txt
Goto the first match of the specified keyword
#vim +/keyword file.txt
Search for a given string in direcotory recursively
#grep -r “keyword” /dirname/
To install apache using yum
#yum install httpd
To upgrade apache using yum
#yum update httpd
To uninstall apache using yum
#yum remove httpd