How To Install Shutdown In Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian?
Install shutdown
-
Debian
apt-get install sysvinitClick to copy -
Ubuntu
apt-get install upstart-sysvClick to copy -
Arch Linux
pacman -S systemd-sysvcompatClick to copy -
Kali Linux
apt-get install runit-initClick to copy -
CentOS
yum install systemdClick to copy -
Fedora
dnf install systemdClick to copy -
Raspbian
apt-get install upstartClick to copy
Shutdown and reboot the system.
How to use shutdown?
Below are few example commands for shutdown that you can use in the terminal.
Power off (halt) immediately:shutdown -h nowClick to copyReboot immediately:shutdown -r nowClick to copyReboot in 5 minutes:shutdown -r +5 &Click to copyShutdown at 1:00 pm (Uses 24h clock):shutdown -h 13:00Click to copyCancel a pending shutdown/reboot operation:shutdown -cClick to copy
Installation of latest shutdown command is available for Debian, Ubuntu, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




