Shell Programming

Why shared Cpanel server security is major concern?

We all are having good awareness of server security. Its on going process and we have to harden it as…

7 years ago

How to Terminate old suspended accounts on cpanel server

Terminate old suspended accounts on cpanel server Following scripts:  1) vi /root/terminatesuspended.sh for i in `find /var/cpanel/suspended/ -mtime +90 | cut…

9 years ago

Backup script for reseller account

Following are the steps to take increment backup of reseller account on backup server. 1) First we need to find…

9 years ago

Script to check NFS mount point

How to check NFS mount point by using the script ? Ans : If you we have mounted the NFS…

9 years ago

Find out the reseller name with domains

How to find out the reseller name with domains? Ans : If you want to list all cPanel accounts under…

9 years ago

Make your shell colorful

You can easily changed your black ssh screen to colorful screen by using following steps. 1) Login to the server…

9 years ago

Script to automatically start mysql

The following script is used to  start mysql automatically when it is failed or stopped on the server. You can set 2…

9 years ago

How to run bash scripts from local machine to remote linux machine

Q. How to run bash script from local machine to remote linux machine ? Ans : We can run the…

9 years ago

Script to restart any service automatically

We can set the cron to restart the server when it was down or not running. You can use following…

9 years ago