rdate command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rdate: command not found
or when using sudo you get the following error message
sudo: rdate: command not found
Solutions to rdate: command not found
How To Fix rdate: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rdate is provided by rdate package.
rdate is:
OpenRdate or openrdate or rdate displays and sets the local date and time from the host name or address given as the argument. The time source may be an RFC 868 TCP protocol server, which is usually implemented as a built-in service of inetd(8), or an RFC 5905 protocol SNTP/NTP server. By default, rdate uses the RFC 868 TCP protocol.
OpenRdate supports IPv4 and IPv6 protocols.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rdate
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rdate.
sudo apt -y install rdate
Or if you have aptitude installed you can use the following command.
sudo aptitude install rdate
Summary
In this tutorial we learn how to fix rdate command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.