halt

Halt the system. More information: <https://manned.org/halt.8>.

Debian Debian
RUN apt-get update && \ apt-get install -y sysvinit
Ubuntu
RUN apt-get update && \ apt-get install -y upstart-sysv
Arch Arch Linux
RUN pacman -S --noconfirm systemd-sysvcompat
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y runit-init
CentOS
RUN yum install -y usermode
Fedora
RUN dnf install -y systemd
Raspbian
RUN apt-get update && \ apt-get install -y upstart
click the source code to copy install halt on any operating system with command-not-found.com