From owner-freebsd-questions Tue Nov 11 12:12:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA18698 for questions-outgoing; Tue, 11 Nov 1997 12:12:20 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from mph124.rh.psu.edu (hunt@MPH124.rh.psu.edu [128.118.126.83]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA18691 for ; Tue, 11 Nov 1997 12:12:17 -0800 (PST) (envelope-from hunt@mph124.rh.psu.edu) Received: (from hunt@localhost) by mph124.rh.psu.edu (8.8.7/8.8.7) id PAA14917; Tue, 11 Nov 1997 15:12:08 -0500 (EST) (envelope-from hunt) Message-ID: <19971111151207.43860@rh.psu.edu> Date: Tue, 11 Nov 1997 15:12:07 -0500 From: Matthew Hunt To: Greg Fraize Cc: questions Subject: Re: setting the time on FreeBSD 2.2.5 References: <3468AF98.8975D4EB@oz.plymouth.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 In-Reply-To: <3468AF98.8975D4EB@oz.plymouth.edu>; from Greg Fraize on Tue, Nov 11, 1997 at 02:18:48PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Nov 11, 1997 at 02:18:48PM -0500, Greg Fraize wrote: > I set the time zone right..but i can nto fine the command to > set the time....thanks You can set the date and time using the "date" command. I'm writing this at 3:07pm on 11 November, so I would set the date with: date 9711111507 for example. If you have a working network connection (even a modem) on the machine, it is probably easier and more accurate to set the clock from another machine running NTP: ntpdate clock.psu.edu ("clock.psu.edu" is a perfectly good example; your ISP, company, or whatnot may have its own that you can use). Both methods must be done as root; you obviously don't want just anyone changing the date on you. Regards, Matthew -- Matthew Hunt * Think locally, act globally. finger hunt@mph124.rh.psu.edu for PGP public key.