How to Use cPanel Terminal?


cPanel includes a built-in web-based terminal that gives you command-line (SSH) access to your server directly from your browser — no SSH client like PuTTY or Terminal is needed. This is ideal for quick server tasks when you don't have an SSH client available.

How to Access cPanel Terminal

  1. Login to cPanel.
  2. Under Advanced, click Terminal.
  3. Read and accept the warning message.
  4. A terminal window opens in your browser — you are now connected to your server.

Common Commands to Get Started

# Show current directory
pwd

# List files and folders
ls -la

# Navigate to public_html
cd ~/public_html

# Check disk usage
df -h

# Check PHP version
php -v

# Check MySQL version
mysql --version

# Show running processes
top

Running PHP Scripts from Terminal

php /home/username/public_html/script.php

Managing Files via Terminal

# Copy a file
cp source.php destination.php

# Move/rename a file
mv oldname.php newname.php

# Delete a file
rm filename.php

# Create a directory
mkdir new-folder

Note: The cPanel Terminal runs with your cPanel account's permissions. You do not have root access through this terminal. For root-level tasks, contact SKPHost Support.

If you continue to face issues, please open a create a request.

Was dit antwoord nuttig? 0 gebruikers vonden dit artikel nuttig (0 Stemmen)