Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newsout1.alt.net!news1.alt.net!news-in.iadfw.net!pcrown.net!not-for-mail From: Phil Crown <pcrown@airmail.net> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: rdate for FreeBSD Date: Thu, 15 May 1997 15:25:26 -0500 Organization: RedHat Linux v4.1 Lines: 23 Message-ID: <7B2C73D90966ED45.5704BDF610A3E122.B4C564048D155720@library-proxy.airnews.net> X-Orig-Message-ID: <337B7136.633C7E2D@airmail.net> References: <9014106B902414DF.F2C1CE0DB63DC135.683F46B51D3A4FBF@library-proxy.airnews.net> <E9CL33.LM@sphynx.fdn.fr> <DB7ECA28AB48E25C.480A35112851C7DE.B4902F4E00C95599@library-proxy.airnews.net> <5kt85o$pig@uriah.heep.sax.de> NNTP-Proxy-Relay: library.airnews.net NNTP-Posting-Host: dal50-18.ppp.iadfw.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (X11; U; Linux 2.0.27 i486) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41004 J Wunsch wrote: > Phil Crown <pcrown@airmail.net> wrote: > Others have already pointed out that it's not an X11 app. Anyway, you > are aware that FreeBSD ships with xnptd by default, thus no need to > download it? Yes, I found out after I started the thread. ntpdate I think is the name of the util I was looking for, I haven't had time to persue further it yet. > If you really think you need rdate, here is one. It requires one > argument (the name of the remote host), will connect to that host's > `time' port (internal to inetd), fetch the date, and issue a local > date(1) command. Most of the code gratuitously stolen from the Perl > IPC example in the man page. ;-) > #!/usr/bin/perl I also need to learn Perl soon... :-) Thanks for your help. -- Phil Crown pcrown@airmail.net http://web2.airmail.net/pcrown/