Developer Tools

How to Use the cPanel Terminal

Run command-line tasks in the browser with cPanel’s Terminal — check versions, manage files and keep it safe.

cPanel includes a Terminal — a command-line window in your browser, no SSH client required. It's handy for quick checks and fixes that are painful in a file manager. Availability depends on your plan; if you can't see it, ask support whether it can be enabled.

Where to find it

  1. Log into cPanel.
  2. Open Terminal (under Advanced).
  3. A dark command-line window opens, logged in as your account user.

Useful, safe commands

php -v          # see the PHP version your account is running
pwd             # show where you are (stands for "print working directory")
ls -la          # list files, including hidden ones
du -sh *        # show the size of folders in the current directory
df -h           # show disk usage and quota

These only read information — nothing gets changed, so they're a safe way to start.

Making changes from the terminal

You can move, delete and edit files from the command line, but it's worth being deliberate about it. A typo like rm -rf folder/ where you meant rmdir folder/ is how careers are made interesting. Prefer File Manager for anything destructive; use the terminal for version checks, file counts, disk usage and automated jobs.

Lines you cannot cross

  • You're scoped to your account — you can't modify the server, other accounts, or system files.
  • No root or superuser commands; if a task asks for one, it needs support.
  • Don't store passwords in the terminal or in history files.

Terminal vs SSH

cPanel Terminal and SSH open the same kind of shell — Terminal just spares you setting up an SSH client. Whatever the window, the same rules and limits apply.

Was this article helpful?

Your feedback helps us improve our guides.

Still need a hand?

Contact WebFulHost Support — our team is available 24/7.