Cpanel Server

Reseller account migration by using script

For migrating Reseller and/or Bulk accounts between cpanel servers:: 1) On source server cd /home mkdir /home/Migration cat /etc/trueuserowners |grep reseller_username…

9 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

Server Monitoring Scripts and commands

Script to delete a line from a file if it have a particular pattern sed -i "/"pattern"/d" filename find /home/…

9 years ago