[Ilugc] One Day One Command (RDATE)

  • From: antonypaul24@xxxxxxxxx (Antony Paul)
  • Date: Fri Mar 18 11:07:15 2005

I cant find it in mdk 10.1


On Fri, 18 Mar 2005 10:54:43 +0530 (IST), Bharathi Subramanian
<sbharathi@xxxxxxxxxxxxx> wrote:

MIT-Chennai is organizing a 3 day National Level Technical Symposium
on FLOSS. Date: 18-20 Mar 2005. Visit: http://www.carteblanche.in/

One Day One Command :-
====================

rdate -- Get the time from Remote machine.

Summary :

It connects to an Remote Time Server over a TCP/IP network, printing
the returned time and/or setting the system clock. The time in remote
server is maintained properly. So that all machines can get the time
from that server.

Example:

$ rdate -p 192.168.1.5 -- Print the time returned by the remote
                          machine.

$ rdate -s remote.pc.com -- Set the system time to the time returned
                        by the remote machine (Need Root permission).

$ rdate -u myserver -- Use UDP instead of TCP as the transport.

$ rdate -l myserver -- Use syslog to log errors and output (Useful
                       when it is used in cron jobs).

NOTE:
1) Remote server should run the time service in port 37.
2) Firewall should not block port 37.

Read : man rdate

Bye :)
--
Bharathi S
ODOC -- http://www.livejournal.com/community/ilugc/

_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

Other related posts: