[plug] time setting

Jason Nicholls jason at mindsocket.com.au
Tue Jun 11 11:06:10 WST 2002


On Tue, Jun 11, 2002 at 10:58:30AM +0800, Jon L. Miller wrote:
> Can anyone tell me what is the command in Linux for setting the time in
> a shell?  for the life of me I cannot remember

If you have Internet access try something like this to sync the system time
with a time server:

    rdate -s ntp.anu.edu.au

Otherwise you can set it manually with date:
    
    date -s MMDDhhmm[CC]YY


Later,

Jason Nicholls
--------------------------------------------------------------------
Jason Nicholls    icq: 11745841    email: <jason at mindsocket.com.au>
http://jason.mindsocket.com.au/    mobile: 0417 410 811
--------------------------------------------------------------------
   pgp/gpg id: 0xC3844959  
  fingerprint: 7F7A 5846 4E94 459C 104D  A979 7079 24CF C384 4959



More information about the plug mailing list