reboot
Reboot the system. More information: <https://manned.org/reboot.8>.
Install
- All systems
-
curl cmd.cat/reboot.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/reboot
Reboot the system. More information: <https://manned.org/reboot.8>.
-
Reboot the system:
reboot
-
Power off the system (same as `poweroff`):
reboot --poweroff
-
Halt (terminates all processes and shuts down the CPU) the system (same as `halt`):
reboot --halt
-
Reboot immediately without contacting the system manager:
reboot --force
-
Write the wtmp shutdown entry without rebooting the system:
reboot --wtmp-only
© tl;dr; authors and contributors