SSH reboot command

Reboot is one of the commands in Linux that you will have to be careful with. In this tutorial, we will show you how to reboot your Linux machine – Dedicated Server or VPS with SSH and the Reboot Command. Use the SSH reboot command with care and only when necessary.

Reboot your machine with SSH gracefully

reboot

Reboot forcefully, this is more dangerous to use

reboot -f

Reboot with power off, this will shut down the machine instead of rebooting

reboot -p

No matter how you use the reboot command you should be cautious as it will stop any services that you have running. This is especially important for SQL queries, we would recommend that you reboot your machine gracefully.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Linux tar Command

The Linux tar command is used to compress and extract files to and from an archive. In this...

How to Install WordPress via SSH

Since WordPress is the most widely used CMS it’s installation process has been made as simple and...

SSH Execute Command on a Remote server

Via SSH you can connect to a remote server’s shell. This will allow you to execute commands on...

How to connect to your shared hosting account via SFTP with FileZilla

SFTP is a convenient way to use SSH, while also using the interface of a simple FTP. In order to...

SSH netstat command

If you wish to debug or track statistics of your network in a Linux environment you can use SSH...