Skip to Content.
Sympa Menu

baslinux - Re: [BL] rdate or something like it

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] rdate or something like it
  • Date: Sun, 04 Jul 2010 10:18:30 +1200

Message from Steven
===================

> I was wondering is there any way to get BL3.5 to
> get it's date and time remotely?

Getting the date/time is easy: simply telnet to
port 13 of an appropriate server. Alternatively
you can nc to that server. For example:
-----------------------
telnet time.nist.gov 13
-----------------------
or
-------------------
nc time.nist.gov 13
-------------------

To set the local date/time, you can write a wee script
to parse the output of the server and pass it to the
date command.

Cheers,
Steven






Archive powered by MHonArc 2.6.24.

Top of Page