My HP

18th April, 2020 | Advanced Topics |

How to access the terminal in cPanel

cPanel now has a built in Terminal feature, which allows you to connect to your hosting account shell, as if you were using an SSH client (such a Putty).


Acessing Terminal:

Firstly, log into your cPanel account. If you are unsure on how to do this, please view the following help article - 'How to log into cPanel', Then once logged in - under the Advanced heading, click on Terminal.


Once on the Terminal page, you will first be greeted by a warning, stating to use caution when using this interface, as it can cause corruption or loss of data if used incorrectly.

When you are ready to proceed click on the "I understand and want to proceed" button


The terminal will then be loaded on to the page and you will be automatically logged in to this, as shown in the example below.


In this example we will run a couple of test commands to show the terminal in action:

cd public_html

This will take you in to your public_html directory within your hosting

ls This will list the files of the directory you are currently in (in this example: public_html). Please note that the ls command does not display hidden files by default, for that you would want to use ls -a

Comments