shutdwon linux code example
Example: 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