LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how do i set my clock in linux? (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-set-my-clock-in-linux-5673/)

philfighter 08-21-2001 09:51 AM

how do i set my clock in linux?
 
i am using redhat 7...

how do i set my clock?

trickykid 08-21-2001 10:33 AM

check this link out, its the man pages online with all your clock needs within linux. :D
http://linux.ctyme.com/man/man0199.htm

Jase 08-21-2001 10:48 AM

Quote:

Originally posted by trickykid
check this link out, its the man pages online with all your clock needs within linux. :D
http://linux.ctyme.com/man/man0199.htm

jeez,....lol does anyone use linuxconf anymore?

trickykid 08-21-2001 10:50 AM

Quote:

Originally posted by Jase


jeez,....lol does anyone use linuxconf anymore?

nope i don't, my own opinion tells me it sucks.. that is why its not included now in some later distro's. i feel more comfortable editing by hand. :cool:

philfighter 08-21-2001 02:18 PM

found /sbin/hwclock
 
is there a way known to man, woman, child, or animal to use hwclock to keep the time on the linux system and then somehow set the bios (cmos) clock to stop when the system shuts down then upon reboot continues the time from when it was last left off??

for example:
i shutdown the computer at 10:01 pm then when i get up in the morning i boot up and the time still says 10:01 pm or maybe 10:02 pm...

if someone tells me to look at the manpage one more time, i will be pissed as i have scoured the man pages and find nothing

thx

especially the trickykid

trickykid 08-21-2001 03:32 PM

you can use the setclock or timeconfig commands.. not sure of any syntaxes or whatever.. not in from of my machine.. and to tell you the truth.. its been a long time since I even set the clock on my system. kind of ironic.. i always just look at my watch on my hand.. and never worry about the dates on the files.. i'm so organized... :rolleyes:

philfighter 08-21-2001 03:40 PM

no problem, i hope...
 
i know, tk, but i am an obsessor...i know its not a big deal but i feel sometimes i have to have everything working right at all times... hehehe

thx though

gizmola 08-22-2001 11:25 AM

Re: found /sbin/hwclock
 
Quote:

Originally posted by philfighter
is there a way known to man, woman, child, or animal to use hwclock to keep the time on the linux system and then somehow set the bios (cmos) clock to stop when the system shuts down then upon reboot continues the time from when it was last left off??

for example:
i shutdown the computer at 10:01 pm then when i get up in the morning i boot up and the time still says 10:01 pm or maybe 10:02 pm...


I'm completely at a loss as to why you would want to do this. It's just so completely opposite of the concept of the correct time. Most utilities that btw, haven't been mentioned have to do with making sure the system has the "correct" time. When i say time i of course really mean date/time.

Those utilities use a network connection or some other hardware device to sync the computer's clock with that of some external time source, like an atomic clock.

Anyways, here's another source of clock info, and has a bit info on the external clock synching options as well.

http://www.linuxdoc.org/HOWTO/mini/Clock.html#toc3

Jase 08-22-2001 05:54 PM

Quote:

Originally posted by trickykid

nope i don't, my own opinion tells me it sucks.. that is why its not included now in some later distro's. i feel more comfortable editing by hand. :cool:

please elaborate

trickykid 08-22-2001 06:11 PM

ummm... i just don't feel it totally works and it actually doesn't. it hasn't been officially okay'd by alot of the open source communities/companies and that is one reason why Redhat by default doesn't include it on its version now even. They only supply it on cd for those who do want it though.


All times are GMT -5. The time now is 04:58 AM.