Understand cPanel Terminal before using it
Open a command-line session only when you know what the command will do.
Where Tools → Advanced → Terminal
Before you start
- Have authorisation to use shell access and a backup before any file-changing command.
- Ask support or your developer for an explanation of unfamiliar commands.
Steps
-
1
Read the warning. Click I understand and want to proceed only if you intend to open a shell and accept that responsibility.
-
2
Start by identifying the current folder and account. Simple read-only commands such as pwd and ls show location and contents; do not infer that every command suggested online is safe.
-
3
Check every path before running a command. Relative paths depend on the current folder, and a command can affect more than the website you have in mind.
-
4
Keep passwords, tokens and private keys out of pasted commands and shared screenshots. Close the terminal session when finished and log out of cPanel on a shared device.
-
5
Open Terminal. The initial screen warns that command-line actions can affect your account.
The warning is an intentional safety boundary, not an error to bypass.
Check it worked
- You are in the expected account and directory before any further action.
- After authorised changes, test the affected application and retain useful error output without secrets.