BuycPanel Blog

BuycPanel Blog

Latest news and updates

How to Access the Linux Command Line for Easy Server Administration

Posted by Allura on 02 05 2019.

A Brief Overview
cPanel as well as WHM automates a number of server administration processes or tasks so as to make operations smoother for the end user. However, if one is familiar with the Linux Command Line it aids the process of easy server administration. 
Accessing the Command Line and Server
Note:In cPanel or WHM Versions 72 and above one can simply use the Terminal Interface in order to access the Command Line from within the Interface. The path to be followed in order to do so is though the Advanced Interface that In turn can be accessed from the Home Interface.The following steps may be used in order to access the Linux command line and cPanel or WHM server:There are various ways for the computer to reach the CLI (Command Line Interface).
Microsoft Windows: The Command Prompt Program needs to be opened. This can be done by entering Command Prompt in…

A Brief Overview

cPanel as well as WHM automates a number of server administration processes or tasks so as to make operations smoother for the end user. However, if one is familiar with the Linux Command Line it aids the process of easy server administration.

 

Accessing the Command Line and Server

Note:

In cPanel or WHM Versions 72 and above one can simply use the Terminal Interface in order to access the Command Line from within the Interface. The path to be followed in order to do so is though the Advanced Interface that In turn can be accessed from the Home Interface.

The following steps may be used in order to access the Linux command line and cPanel or WHM server:

  • There are various ways for the computer to reach the CLI (Command Line Interface).
  • Microsoft Windows: The Command Prompt Program needs to be opened. This can be done by entering Command Prompt in the Search text-box that appears after clicking Start and then selecting the Command Prompt option from the appearing list of options.
  • MacOS: In this case one must open the Terminal Program. The process to do so is simple, one has to click the Applications icon in the dock and then the Utilities icon from the appearing options and finally the Terminal icon therein.
  • Ubuntu: Once again, the Terminal Program has to be opened. One simply has to press simultaneously the Ctrl+Alt+T keys in order to do the same.
  • Once the CLI program has been successfully opened it grants access to the user’s local computer. One can then use SSH in order to access the WHM or cPanel server by entering the following command –

ssh username@hostname

  • In the aforementioned case Username stands for the user’s account username while hostname stands for the given server’s hostname.
  • Once this process of entering the username and hostname details has been completed the CLI directs the user to Enter the account password. One must enter the same and click the Enter option.
  • The CLI then displays the login information including the details of the last login, the username and the password used to access the server.
  • One can then access the server’s file system and navigate the same, running necessary commands within the purview of one’s respective account permission on the given server.

Note:

If an error message is displayed it indicates that SSH privileges may not be enabled on the server. The hosting provider must be contacted in that eventuality.

 

Concluding Thoughts

Thus the process of accessing the Linux Command Line is quite simple in any given
cPanel or WHM server. Further, the ability to do the same helps in easy manual server administration as and when required.