how to reboot a system linux code example Example: reboot server linux sudo shutdown –r or sudo reboot