reboot linux system from command line code example Example: reboot server linux sudo shutdown –r or sudo reboot