Some useful SSH commands.

1. To know the free space in all mounted file system: df -h (Shows used and free space in all mounted file systems)

2. List all rules in iptables: iptables -L

3. Restart apache: service httpd restart

4. Restart MySQL: service mysql restart

5. Restart exim: service exim restart

6. Restart Cpanel: service cpanel restart

7. To upgrade cpanel version:  /scripts/upcp --force.

8. Backup MySQL Database Shell Command:

mysqldump -u username -p password databasename > databasefile.sql (backup MySQL database to databasefile.sql).

9. Restore MySQL Database Shell Command:

mysqldump -u username -p password databasename > databasefile.sql :Restore a MySQL databse from databasefile.sql.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Do you provide support for complex technical problems?

Our system administrators are capable of tackling any type of technical problem regardless of...

Do you offer fully managed servers?

Yes, all servers are fully managed by our highly trained system administrators.Managed didecated...

Is my dedicated server secure?

Yes, dedicated server with server management and secure setup option comes with a security...

Invalid License File

If cPanel is reporting "Invalid License File" on VPS or dedicated server, run the following...

Which software comes preloaded with new dedicated server?

Buyhttp sets up the following packages so that you don't have to: cPanel/WHM control panel and...