cPanel is one of the best hosting control panel for Linux environment, which will help administrator to manage everything easily. cPanel having utility scripts to manage cPanel activity on CLI.
The scripts are located at /usr/local/cpanel/scripts. We can use the scripts like /scripts/script_name.
Add a dns zone
/scripts/addns
Add a pop3 email account
/scripts/addpop
Add JSP support to a domain (tomcat server required)
/scripts/addservlets
Add a user to the system
/scripts/adduser
Rebuilds exim.conf
/scripts/buildeximconf
Change cpanel passwords to particular account
/scripts/chpass
Used to update/reinstall courier
/scripts/courierup
To backup accounts (if backups enabled on WHM)
/scripts/cpbackup --force
Recompile apache
/scripts/easyapache
To manually set a users quota limit
/scripts/editquota
To update exim to latest version - will overwrite any manual changes which was made on exim.conf file
/scripts/eximup
Fixes mailbox permissions, mailman, cgi scripts, ndc and quotas
/scripts/fixcommonproblems
Fixes common mailman issues
/scripts/fixmailman
Fixes rndc errors with named
/scripts/fixndc
Fixes quota problems
/scripts/fixquotas
Resets horde database to a fresh one - all previous user data are lost
/scripts/fullhordereset
Used to update/install FTP server (pureftpd or proftpd) to latest version
/scripts/ftpup
Generates new maildirsize for any or all users
/scripts/generatemaildirsize
Initializes quotas
/scripts/initquotas
Installs zend optimizer via phpextensionmgr
/scripts/installzendopt
Terminate an account - make sure you take a backup of the account first
/scripts/killacct
Removes a DNS Zone
/scripts/killdns
Fixes permission problems with mail directories
/scripts/mailperm
Rebuilds internal PHP from /var/cpanel/easy/apache/profile/makecpphp.profile.yaml
/scripts/makecpphp
Used to update mysql to latest version specified in /var/cpanel/cpanel.config
/scripts/mysqlup
To create an account backup
/scripts/pkgacct
To update PHP only
/scripts/phpup
Installs IonCube, Zend Optimizer, SuHosin & eAccelerator
/scripts/phpextensiomgr
Rebuilds /etc/named.conf with zones from /var/named/*.db
/scripts/rebuildnamedconf
Restart script for services
/scripts/restartsrv_$servicename
Restores an account from a backup file (pkgacct file)(must be in /home)
/scripts/restorepkg
Update logs of all users
/scripts/runlogsnow
Update stats for a particular user
/scripts/runweblogs
Secures /tmp partition with options nosuexec and nosuid
/scripts/securetmp
Suspends an account
/scripts/suspendacct
Unsuspends a suspended account
/scripts/unsuspendacct
Updates cpanel to the latest version
/scripts/upcp --force
Updates the cpanel scripts
/scripts/updatenow
Updates /etc/userdomains entries from /var/cpanel/users
/scripts/updateuserdomains
To create new accounts (wwwacct domain.com user password)
/scripts/wwwacct