How to Manage WHM from Linux Terminal instead of accessing thorugh GUI

techni

Member
Jun 22, 2012
8
0
1
cPanel Access Level
Root Administrator
I want to manage my entire cPanel Based Linux server from Command Line itself
Please advice any documentation so that i can refer it
 

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
I want to manage my entire cPanel Based Linux server from Command Line itself
Please advice any documentation so that i can refer it
I am unaware of any complete cPanel CLI guide..but cPanel itself states that we can manage only 98% of WHM functionality via CLI.

Command Line Scripts | cPanel, Inc.

You can find most of the CLI / script under /scrits , /usr/local/cpanel/bin

PS: Make sure you know what you are doing before executing any scripts.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
44
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
It would be better to use the API to manage the server, since more WHM functionality would be available using the API. Also, the API is the supported method over using /scripts or running commands using /usr/local/cpanel/bin binaries. Here's our documentation on the API:

cPanel & WHM's SDK

If you end up having questions about the API, please post them in the developers section of the forum:

cPanel Developers

Thanks!