Shutdown computer in Linux

Posted by Joe Enos on August 10, 2021 · 1 min read

To restart the computer immediately:

sudo shutdown -r -t 0

To shut down the computer immediately:

sudo shutdown -t 0