rhost command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rhost: command not found
or when using sudo you get the following error message
sudo: rhost: command not found
Solutions to rhost: command not found
How To Fix rhost: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rhost is provided by jdresolve package.
jdresolve is:
The jdresolve application resolves IP addresses into hostnames. To reduce the time necessary to resolve large batches of addresses, jdresolve opens many concurrent connections to the DNS servers, and keeps a large number of text lines in memory. These lines can have any content, as long as the IP addresses are the first field to the left. This is usually the case with most formats of HTTP and FTP log files.
To fix this problem, we can install more using the command below.
sudo apt-get -y install jdresolve
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install jdresolve.
sudo apt -y install jdresolve
Or if you have aptitude installed you can use the following command.
sudo aptitude install jdresolve
Summary
In this tutorial we learn how to fix rhost command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.