LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 12-19-2003, 09:08 PM   #1
bufu
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
Changing the time on Slackware 9.1


Sorry, new to linux, very new....yes a newbie.

Anyways, I installed Slackware 9.1 into my old Compaq Presario 1680 and well, I tired changing the time..it wouldn't let me do something as simple as that. I tried "man date" and just the simple "date" parameters...but I can't seem to get it to work

Would someone please give me an example of what I will have to type in the terminal?

THanks,
BUFU
 
Old 12-19-2003, 09:29 PM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
It's been a long time since I havechanged the date by hand. Run the date -s command as root:
Code:
date -s "Dec 19 22:28:00 2003"
Or if you are connect to the internet you can set the time from a timeserver:
Code:
ntpdate tick.usno.navy.mil

Last edited by crabboy; 12-19-2003 at 09:32 PM.
 
Old 12-19-2003, 09:42 PM   #3
bufu
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Original Poster
Rep: Reputation: 0
ty...i got it =)
 
Old 12-20-2003, 06:00 AM   #4
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
A little more info to share

Here is a little more info on the matter of changing the time zone, date, and using NTP to keep the time on track. Cheers http://hypexr.homelinux.org/tips.html#date
 
Old 12-23-2003, 11:32 PM   #5
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
i usually just use something like :
Code:
date 12230029
Which would set it to 12:29 am, 12/23

Easy?
Month, day, hour, minute.



-Shade
 
Old 12-24-2003, 12:54 AM   #6
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
Yes, but as stated in the linked page above that does not change the time in the hardware clock. you also need to use the hwclock command or you will have to use the date command everytime you restart your computer.
 
  


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
Changing time ethics Fedora 9 08-02-2005 01:08 PM
Changing System Time rjshirts Linux - Software 4 01-24-2005 03:48 PM
Time keeps changing? threedguy Linux - Software 5 10-08-2003 09:05 PM
time keeps changing mcd Linux - Newbie 2 08-22-2003 08:12 AM
Time keeps changing eternity1700 Linux - General 2 02-17-2003 12:06 AM


All times are GMT -5. The time now is 08:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration