Useful Linux Commands

CentOS / RHEL
Basic command     Install [package name] yum install [package name] rpm -ivh [software name] eg: >yum install mysql   >rpm -i...
Fri, 31 May, 2013 at 11:56 PM
Syncrhonization and Backup
rsync -vautropgz --progress -P 32168 ./abc/   123.123.123.123:/abc/ Option: on Source Server: ssh-keygen -t dsa on Target Serve...
Wed, 29 May, 2013 at 3:46 PM
Crontab / Kill Jobs by Name
crontab -e  1 1 * * * /home/ispc/cron/kill_httpd.sh vi /home/ispc/cron/kill_httpd.sh >> ps aux | grep -ie http | awk '{print $2}'...
Wed, 2 Apr, 2014 at 12:34 PM