Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st October 2010, 05:08
baanmaha baanmaha is offline
Junior Member
 
Join Date: Jul 2008
Location: Baanmaha online
Posts: 1
Thanks: 1
Thanked 1 Time in 1 Post
 
Thumbs up Set the time machine Linux server

This is the quick and dirty solution...

To display the current date/time

HTML Code:
$ date   << check date/time
To set the date/time

HTML Code:
$ sudo date MMDDhhmmYYYY << Example command
Example:

HTML Code:
$ sudo date 021520302009  << Use
Linux Set Time

To set time use the following syntax:
# date +%T -s "10:13:13"
Where,

HTML Code:
    * 10: Hour (hh)
    * 13: Minute (mm)
    * 30: Second (ss)
Use %p locale’s equivalent of either AM or PM, enter:
HTML Code:
# date +%T%p -s "6:10:30AM"
# date +%T%p -s "12:10:30PM"
__________________
Reply With Quote
The Following User Says Thank You to baanmaha For This Useful Post:
falko (22nd October 2010)
Sponsored Links
Reply

Bookmarks

Tags
linux set time

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User unknown in relay recipient table Taxick Installation/Configuration 12 9th April 2013 12:31
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 14:49
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 22:08
Can't start apache Musty Server Operation 12 9th March 2008 13:58
Webmail Relay Error palkat General 17 23rd April 2006 18:12


All times are GMT +2. The time now is 18:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.