shutdown linux code example

Example 1: shut down instantly on linux

sudo shutdown now

Example 2: shutdown linux pc

# schedule shutdown 1 minute from now
shutdown

# schedule shutdown 15 minutes from now
shutdown +15

# schedule shutdown at 23:00
shutdown 23:00

# shutdown immediately
shutdown now

# cancel shutdown
shutdown -c

Example 3: shutdown command linux

#The shutdown command is used and the computer will shutdown in a minute.
shutdown

Example 4: Linux-Shutdown-Befehle

Die wesentlichen Linux-Shutdown-Befehle
Linux standardmäßig herunterfahren. shutdown -h. ...
Linux sofort herunterfahren. shutdown -h 0. ...
Linux sofort neu starten. shutdown -r 0. ...
Linux nach 20 Minuten herunterfahren. shutdown -h 20. ...
Linux nach 20 Minuten neu starten. shutdown -r 20. ...
Linux um 17:30 Uhr herunterfahren. shutdown -h 17:30.

Tags:

Misc Example