reboot command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
reboot: command not found
or when using sudo you get the following error message
sudo: reboot: command not found
Solutions to reboot: command not found
How To Fix reboot: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu reboot is provided by finit-sysv package.
finit-sysv is:
Finit is a simple alternative to SysV init and systemd, reverse engineered from the EeePC fastinit ten years ago by Claudio Matsuoka - “gaps filled with frog DNA …”
This package provides /sbin/init, that boots your system and starts finit.
To fix this problem, we can install more using the command below.
sudo apt-get -y install finit-sysv
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install finit-sysv.
sudo apt -y install finit-sysv
Or if you have aptitude installed you can use the following command.
sudo aptitude install finit-sysv
Summary
In this tutorial we learn how to fix reboot command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.