LinuxQuestions.org
Register a domain and help support LQ
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 03-31-2008, 05:11 PM   #1
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Rep: Reputation: 15
How to change the time via console?


can anyone help me with the commands for changing time via console? im trying to update the time on a linux server running fedora 4 via an ssh session
 
Old 03-31-2008, 05:17 PM   #2
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Basically:
Code:
$ man date
Check this for a bit more info about time on Linux.
 
Old 03-31-2008, 05:35 PM   #3
prad77
Member
 
Registered: Mar 2008
Posts: 101

Rep: Reputation: 15
Hope this can help...
http://www.go2linux.org/hwclock-linu...hardware-clock

Gentoo

Last edited by prad77; 04-17-2008 at 04:32 AM.
 
Old 04-01-2008, 05:03 AM   #4
cam34
Member
 
Registered: Aug 2003
Distribution: Fedora 22, Debian 8, Centos 6/7 for servers
Posts: 101

Rep: Reputation: 16
ntpdate pool.ntp.org

providing your timezone is setup correctly
 
Old 02-16-2009, 10:49 PM   #5
jag1506
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Rep: Reputation: 0
response to chaning system time

I know this is an old post but just in case someone is searching for the real answer here we go; in order to set the system time the only thing you need to do is:

date --set HH:MM:SS

This under Debian but should be the same in any Linux Distro.
 
Old 02-17-2009, 12:16 AM   #6
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up HI

Hello my friend. This is how to set date and time but it requires root access. The coomand is

date --set='Wed FEB 16 12:12:12 CST 2009'

Thats it. All the best.
 
Old 02-17-2009, 12:20 AM   #7
Ranguvar
Member
 
Registered: Oct 2008
Location: Upstate NY
Distribution: Arch Linux
Posts: 99

Rep: Reputation: 17
There are many different ways. man date will show you all of them.

</topic>
 
  


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
world time on console noir911 Linux - General 3 11-07-2006 10:43 AM
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 10:58 PM
Need ACCESS to change files! Every time I try to change a setting,"Permission Denied" Balarabay1 SUSE / openSUSE 2 03-06-2006 10:54 AM
Daytime Saving time. Cannot change time arubin Linux - General 9 11-06-2004 05:37 PM
how much time are you on the console? gui10 Linux - General 14 04-17-2002 01:28 AM


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

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