LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2009, 02:45 PM   #1
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Fedora 9
Posts: 192

Rep: Reputation: 30
Question How to set the time in fedora?


Hello friends !

Please tell me how to set the time in Linux Fedora.
Please tell both the shell commands and graphical methods.

Regards.
 
Old 04-30-2009, 02:58 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by mq15 View Post
Hello friends !

Please tell me how to set the time in Linux Fedora.
Please tell both the shell commands and graphical methods.

Regards.
I've never used a gui to do it honestly and it would depend more on what you installed to perform the task. If you have ntpdate installed you can fire that off with the server to sync off of to set the time.

Code:
ntpdate ipORhostnameOFtimeserver
ntpdate 0.pool.ntp.org
(The first being the syntax, second being an example that will work)

You could also use the date command to set the time manually (and date of course.) In this case something like this would work:

Code:
date -s "04/30/2009 04:03:00"
Graphical mode for this one would probably entail double clicking on the clock or right clicking it and changing properties/setting time.

Last edited by rweaver; 04-30-2009 at 03:06 PM.
 
Old 04-30-2009, 07:24 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,294

Rep: Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358
Assuming you've got Gnome on Fedora, it should be : System->Administration->Date & Time.
Just hunt through the menus for stuff like this....
 
Old 05-01-2009, 08:50 AM   #4
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Fedora 9
Posts: 192

Original Poster
Rep: Reputation: 30
Thanks all,,
I did as chrism01 said viz System > Admin > Date and Time and set the time, but the change does not take effect.

Though
Quote:
ntpdate 0.pool.ntp.org
has adjusted the time, I wonder why the change does not take effect?

Please help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set and sync system time with time server?? servnov Linux - Newbie 6 12-03-2013 07:55 PM
Time skew of 580 min when I set my time zone in Gentoo scooter2 Linux - Newbie 1 03-05-2009 10:27 AM
Where does RH8 daily set system time to hardware clock time smartnorman Red Hat 1 05-24-2006 02:42 PM
Cannot set time/date to other time zone than UTC (Kubuntu) jamangold Ubuntu 1 12-23-2005 05:42 PM
Doub about `net time set` and daylight saving time Thakowbbery Linux - Software 0 10-17-2005 05:23 AM


All times are GMT -5. The time now is 10:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration