rkill command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rkill: command not found
or when using sudo you get the following error message
sudo: rkill: command not found
Solutions to rkill: command not found
How To Fix rkill: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rkill is provided by pslist package.
pslist is:
pslist is a simple utility to list the process IDs (PIDs) of a process and all its children, and its children’s children, and so on. If invoked with a command name which ends in ‘kill’, it sends a signal to a selected group of processes. If invoked with a command name which ends in ‘renice’, it sets the nice level of the selected group of processes.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pslist
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pslist.
sudo apt -y install pslist
Or if you have aptitude installed you can use the following command.
sudo aptitude install pslist
Summary
In this tutorial we learn how to fix rkill command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.