shutdown
SystemFundamentals In real LinuxPower off or reboot the machine
Name: shutdown
This command needs a real Linux system; you can practise it in real Linux mode.
Description
shutdown powers off or reboots safely: it warns logged-in users, stops services and unmounts file systems. It can act now or at a scheduled time; cancel a scheduled shutdown with shutdown -c.
Syntax
shutdown [OPTION] [TIME] [MESSAGE]Common options
| now / +10 / 22:00 | Now / in 10 minutes / at a time |
| -h | Power off |
| -r | Reboot |
| -c | Cancel a scheduled shutdown |
| -k | Only warn the logged-in users; do not shut down |