ragged-rigid
ragged-rigid
ragged-rigid
ragged-rigid
Updating your system time with date command. @ www.digitalpains.net

Updating your system time with date command.

search
report
store
careershandbook

If you use date command without any parameter, it will print the current date and time.

[root@centos ~]# date
Thu Jan  7 18:33:48 CET 2010

You can use the same command to set/change your system date and time.
Notation for this usage as listed below.

date MMDDhhmmYYYYY

Let’s say that we would like to set our system date and time to 9 January 2010 20:11 .

 [root@centos ~]# date 010920112010
Sat Jan  9 20:11:00 CET 2010
[root@centos ~]# date
Sat Jan  9 20:11:03 CET 2010

Related posts:

  1. Changing SSH port of server. Simple yet effective security measure.
  2. Configuring an additional Yum repository.
  3. Changing Linux Server’s Time Zone.
  4. Adding git branch to your command prompt
  5. Installing VMWare Tools for ESXi Server on a RHEL 5 / Centos 5 Guest

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

 
contact