halt
Halt the system. More information: <https://manned.org/halt.8>.
Install
- All systems
-
curl cmd.cat/halt.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 usermode
- Fedora
-
dnf install systemd
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install upstart-sysv
- Raspbian
-
apt-get install upstart
- Dockerfile
- dockerfile.run/halt
Halt the system. More information: <https://manned.org/halt.8>.
-
Halt the system:
halt
-
Power off the system (same as `poweroff`):
halt --poweroff
-
Reboot the system (same as `reboot`):
halt --reboot
-
Halt immediately without contacting the system manager:
halt --force
-
Write the wtmp shutdown entry without halting the system:
halt --wtmp-only
© tl;dr; authors and contributors