• Linux

1. Shutdown and reboot

Shutdown

shutdown -h now : shutdown immediately

shutdown -h 5 : shutdown after 5 minutes

poweroff : power off immediately

reboot

shutdown -r now : reboot immediately

shutdown -r 5 : reboot after 5 minutes

reboot : reboot immediately

2. Help commands

Help

shutdown --help.

ifconfig --help: View network card information

Command manual

man shutdown : shutdown instruction

Note: after open the command manual, enter "q" to exit