Reboot or shutdown command linux

Reboot system | Shutdown system

Next I will show you the fast way to reboot or shutdown the ubuntu system.

To reboot system in ubuntu you must type

sudo reboot

You can reboot using the shutdown command like this

shutdown -r now

You have the option to reboot with a delay

shutdown -r +10

This will reboot after 10 minutes And if you want to see last reboots use this

last reboot/code>

If you want to shutdown system in ubuntu you must type

sudo poweroff

If you need to shutdown over some time with a message you can use the following command

shutdown +10 "message to display"

For a scheduled shutdown or shutdown at a specific hour you cand do this

shutdown 10:00

And if you want to cancel a scheduled shutdown you must use this command

shutdown -c

You can find usefull articles about linux here.