rdate
sets the system's date from a remote host
Install
- All systems
-
curl cmd.cat/rdate.sh
- Debian
-
apt-get install rdate
- Ubuntu
-
apt-get install rdate
- Kali Linux
-
apt-get install rdate
- CentOS
-
yum install rdate
- Fedora
-
dnf install rdate
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install rdate
- OS X
-
brew install rdate
- Raspbian
-
apt-get install rdate
- Dockerfile
- dockerfile.run/rdate
rdate
sets the system's date from a remote host
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 2030 protocol SNTP/NTP server. By default, rdate uses the RFC 868 TCP protocol.