Restart (Reboot) Server

Like any computer, you can restart your server when something goes wrong or (software updates need to be finalized).

Standard/Graceful Reboot

Restart your server while allowing currently running programs to shut down properly.

Command

sudo reboot

Forceful Reboot

This is like force-quitting applications on you Mac or Windows computer; currently running programs will be terminated immediately. It's unlikely that files will be damaged/corrupted, but certain files (e.g. logs) may not be updated as expected.

Command

sudo reboot -f
  • -f -- A flag for forcefully rebooting the server.