LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-16-2002, 03:51 AM   #1
juno
Member
 
Registered: Sep 2002
Location: fdas
Posts: 100

Rep: Reputation: 15
Change RH system


How to change the RH system time ? if I change the time backward , will it affect the process of the db? thx.
 
Old 12-16-2002, 01:02 PM   #2
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
date :

-s, --set=STRING
set time described by STRING

so you would :

date -s "Mon Dec 16 14:01:08 EST 2002"

And change the bits you need.



Slick.
 
Old 12-16-2002, 01:09 PM   #3
indi
LQ Newbie
 
Registered: Dec 2002
Distribution: redhat
Posts: 14

Rep: Reputation: 0
i have a script - cron invokes it daily and keep me synced :-D

[root@linux sbin]# more settime
#! /bin/sh
/usr/bin/rdate -s time.nist.gov
/sbin/hwclock --systohc
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System time change loccom Linux - General 1 03-16-2005 09:58 AM
Cannot change system time mikemrh9 SUSE / openSUSE 7 01-02-2005 03:06 AM
change system name vijeesh_ep Linux - Newbie 5 12-20-2004 08:54 AM
Is it too much to ask to know how to change my system name? lehumphr Linux - Networking 3 05-01-2004 02:43 AM
how do i change system volume? ShawnD Linux - General 3 09-01-2002 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:13 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