kshutdown command not found
In this troubleshooting guide we learn how to fix kshutdown command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
kshutdown: command not found
or when using sudo you get the following error message
sudo: kshutdown: command not found
Solutions to kshutdown: command not found
How To Fix kshutdown: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu kshutdown is provided by kshutdown package.
kshutdown is:
It has 4 main commands:
- Shut Down (logout and halt the system),
- Reboot (logout and reboot the system),
- Lock Screen (lock the screen using a screen saver),
- Logout (end the session and logout the user).
It features time and delay options, command line support, wizard, and sounds.
To fix this problem, we can install more using the command below.
sudo apt-get -y install kshutdown
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install kshutdown.
sudo apt -y install kshutdown
Or if you have aptitude installed you can use the following command.
sudo aptitude install kshutdown
Summary
In this tutorial we learn how to fix kshutdown command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.