CPanel Link to all of the command line options

<p>CPanel says you can access 98% of the functions through CLI which experienced Unix/Linux admins prefer for simplicity and for scripting.&nbsp; I've never found CPanel easy to use from the admin panel, it seems everything is hard to find and a simple task becomes a series of hunts.</p> <p>So for people like me here's the list: <a href="http://cpanel.net/system-administrators/command-line-scripts/">http://cpanel.net/system-administrators/command-line-scripts/</a></p> <p>Remember to invoke all scripts like this:</p> <p>&nbsp;</p> <p><strong>/scripts/scriptname</strong></p> <p>&nbsp;</p> <dl class="cl-scripts"><dt>easyapache</dt><dd>This powerful script allows you to compile, upgrade, and re-install Apache, PHP, and various modules. EasyApache makes it simple to compile Apache and PHP modules.</dd><dt>check_cpanel_rpms</dt><dd>The check_cpanel_rpms script validates cPanel-managed RPMs and provides a way to reinstall these RPMs if they have been altered.</dd><dt>*up</dt><dd> The *up script is used to manually update the various services on your cPanel &amp; WHM server using various forms such as mysqlup, phpup and eximup. Although you can configure your services to update with cPanel, *up can be used for finer control.</dd><dt>restartsrv_*</dt><dd>The restartsrv_* script can be used to manually restart the various services on your cPanel server. This is the recommended method for restarting services through SSH.</dd><dt>addpop</dt><dd>The addpop script can be used to add email addresses through SSH. Through interactive prompts, addpop will create the new address and set the email address password under the proper user account.</dd><dt>delpop</dt><dd>The delpop scripts can be used to remove email accounts through SSH. Similar to the addpop script, delpop will remove the email address from the proper account.</dd><dt>wwwacct</dt><dd>The wwwacct script can be used to create accounts for your cPanel &amp; WHM server. We&rsquo;ve designed this script to allow you define common parameters used for account creation.</dd><dt>killacct</dt><dd>The killacct script can be used in similar fashion as the wwwacct script to automate removal of accounts.</dd><dt>restorepkg</dt><dd>The restorepkg script can be used to manually restore an account from backup.</dd><dt>cpbackup</dt><dd>When using cPanel &amp; WHM&rsquo;s legacy backup system the cpbackup script can be used to manually trigger system wide backups.</dd><dt>pkgacct</dt><dd>The pkgacct script is used within the cpbackup script and can be manually executed to create account specific backups.</dd><dt>upcp</dt><dd>The upcp script can be used to trigger the update process on your server. You can also configure whether you want server software and the OS updated by the upcp script.</dd><dt>setupmailserver</dt><dd>The setupmailserver script allows you to switch between courier and dovecot, or disable POP3 and IMAP functionality altogether.</dd><dt>setupftpserver</dt><dd>The setupftpserver script allows you to switch between pure-ftpd and proftpd, or disable ftp functionality altogether.</dd><dt>setupnameserver</dt><dd>The setupnameserver script allows you to switch between bind, mydns, and nsd, or disable nameserver functions altogether.</dd><dt>suspendacct</dt><dd>The suspendacct script can be used to automate suspension of accounts on your cPanel &amp; WHM server.</dd><dt>unsuspendacct</dt><dd>The unsuspendacct script can be used to automate unsuspension of accounts on your cPanel &amp; WHM server.</dd><dt>restartsrv_*</dt><dd>The restartsrv family of scripts can be used to restart various services on your cPanel &amp; WHM server, such as Apache, Exim and Dovecot. For administration using the command line, this is the preferred method for restarting services. For a complete list please consult our <a href="http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/RestartServices#Restart" target="_blank">documentation</a>. Included are: </dd></dl> <p>&nbsp;</p> <p>&nbsp;</p>
Tags:

cpanel, functions, cli, unix, linux, admins, simplicity, scripting, ve, admin, panel, task, hunts, href, quot, http, administrators, scripts, invoke, scriptname, dl, cl, dt, easyapache, dd, allows, compile, upgrade, install, apache, php, various, modules, check_cpanel_rpms, validates, rpms, provides, reinstall, altered, manually, update, whm, server, mysqlup, phpup, eximup, configure, finer, restartsrv_, restart, recommended, method, restarting, ssh, addpop, email, addresses, interactive, prompts, password, user, delpop, wwwacct, rsquo, define, parameters, creation, killacct, automate, removal, restorepkg, restore, cpbackup, legacy, backups, pkgacct, executed, upcp, software, os, updated, setupmailserver, courier, dovecot, disable, imap, functionality, altogether, setupftpserver, ftpd, proftpd, ftp, setupnameserver, bind, mydns, nsd, nameserver, suspendacct, suspension, unsuspendacct, unsuspension, restartsrv, exim, administration, preferred, consult, docs, twiki, bin, alldocumentation, whmdocs, restartservices, _blank, documentation, included,

Latest Articles

  • How To Upgrade Debian 8,9,10 to Debian 12 Bookworm
  • Linux dhcp dhclient Mint Redhat Ubuntu Debian How To Use Local Domain DNS Server Instead of ISPs
  • Docker dockerd swarm high CPU usage cause solution
  • Docker Minimum Requirements/How Efficient is Docker? How Much Memory Does Dockerd Use?
  • qemu-nbd: Failed to set NBD socket solution qemu-nbd: Disconnect client, due to: Failed to read request: Unexpected end-of-file before all bytes were read
  • apache2 httpd apache server will not start [pid 22449:tid 139972160445760] AH00052: child pid 23248 exit signal Aborted (6) solution Mint Debian Ubuntu Redhat
  • How to use the FTDI USB serial cable to RJ45 adapter to connect to the console on Cisco/Juniper Switch Router Firewall in Linux Ubuntu Debian Redhat
  • How To Setup Python3 in Ubuntu Docker Image for AI Deep Learning
  • How to Configure NVIDIA GPUs with Docker on Ubuntu: A Comprehensive Guide for AI Deep Learning CUDA Solution
  • Linux Ubuntu Mint how to check nameservers when /etc/resolv.conf disabled solution
  • Docker cannot work on other overlayfs filesystems such as ecryptfs won't start overlayfs: filesystem on '/home/docker/overlay2/check-overlayfs-support130645871/upper' not supported as upperdir
  • Linux How To Access Original Contents of Directory Mounted Debian Mint CentOS Redhat Solution
  • ecryptfs how to manually encrypt your existing home directory or other directory
  • How to Reset CIPC Cisco IP Communicator for CME CUCM CallManager
  • Internet Explorer Cannot Download File "Your security settings do not allow for this file to be downloaded." Security Settings Solution
  • Linux How To Upgrade To The Latest Kernel Debian Mint Ubuntu
  • Firefox how to restore and backup saved passwords and history which files/location
  • Linux How To echo as root solution to use tee permission denied solution Ubuntu Debian Mint Redhat CentOS
  • Linux how to keep command line bash process running if you are disconnected or need to logout of SSH remotely
  • Linux swapping too much? How to check the swappiness and stop swapping