Using the cPanel Terminal
The cPanel Terminal gives you command-line access to your account:
- Log in to cPanel
- Go to Advanced > Terminal
- A new browser window opens with a shell prompt
- You are now in your home directory
Common commands:
ls- List files and directoriescd public_html- Change to your web rootpwd- Show current directorytar -czf backup.tar.gz folder/- Compress a foldermysql -u username -p database < file.sql- Import a databasewget URL- Download a file
Note: Terminal access may not be available on all plans. Contact support if you need shell access.
Security: Never run commands you do not understand. The terminal operates within your account permissions and cannot access other users' files.