Linux

  1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: rdate
Command Library

NAME

rdate - get the time via the network  

SYNOPSIS

rdate [-p] [-s] [-u] [-l] [host...]  

DESCRIPTION

rdate connects to an RFC 868 time server over a TCP/IP network, printing the returned time and/or setting the system clock.  

OPTIONS

-p
Print the time returned by the remote machine.
-s
Set the system time to the returned time.
-u
Use UDP instead of TCP as the transport.
-l
Use syslog to output errors (cron.warning) and output (cron.info).
 

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Linux

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.