shutdown
Shutdown and reboot the system. More information: <https://manned.org/shutdown.8>.
Install
- All systems
-
curl cmd.cat/shutdown.sh
- Debian
-
apt-get install sysvinit - Ubuntu
-
apt-get install upstart-sysv - Arch Linux
-
pacman -S systemd-sysvcompat - Kali Linux
-
apt-get install runit-init - CentOS
-
yum install systemd - Fedora
-
dnf install systemd - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install upstart-sysv - Raspbian
-
apt-get install upstart
Shutdown and reboot the system. More information: <https://manned.org/shutdown.8>.
-
Power off ([h]alt) immediately:
shutdown -h now -
[r]eboot immediately:
shutdown -r now -
[r]eboot in 5 minutes:
shutdown -r +5 & -
Shutdown at 1:00 pm (Uses 24[h] clock):
shutdown -h 13:00 -
[c]ancel a pending shutdown/reboot operation:
shutdown -c
© tl;dr; authors and contributors