[Ilugc] One Day One Command

  • From: praveen_pv@xxxxxxxxxxxx (Praveen.P.V)
  • Date: Fri Jan 7 18:40:42 2005

can anybody  explain me how to change the timezone in a linux machine
Regards,
P r a v e e n . P . V

Bharathi S wrote:

One Day One Command :-
---------------------

date -  Print & set the system data & time 

Summary: 

date will print the time information in different formats and we can 
also make a custom formats using the options.

Example:

$ date == print the current date and time
$ date -d '3year ago' == Same date but 3 yr ago
$ date --set='-10 minutes' == Reduce 10 min in the current time
$ date '+%b %_e %a %X %Z %Y' == Current date in custom format.

Read : info date

Bye :)
 


DISCLAIMER:
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at admin@xxxxxxxxxxxx

Other related posts: