XMPP JavaScript Library

Linux: How to set date time from command prompt

Linux, Sachin Puri, 2012-01-27 15:57:14

Problem

How to set date time in linux if GUI Is not installed

Solution

We can set date time from command prompt using "date" command.

Example

date -s "01 Jan 2012 16:10:00"

Where,

16 (Hrs)

10 (Min)

00 (Sec)

Note: You must have a root privilege to use this command
Add Your Comment
   
    Yes! I want to receive all comments by email

No Comments Posted Yet. Be the first one to post comment