Setting datetime

Posted by timotius witono on May 25, 2009 in ai-tee |

Kebetulan ada salah satu server yang jam sistemnya mau dirubah, karena tidak ada GUI maka harus dilaksanakan via console.

Jadilah belajar perintah “date” berikut :

1. date --> untuk melihat datetime
debian:/# date
Mon May 25 20:18:22 WIT 2009

2. date (argument)--> untuk set datetime
debian:/# date 052520302009
Mon May 25 20:30:00 WIT 2009

3. hwclock untuk store ke CMOS
debian:/# hwclock --systohc

Referensi : http://oreilly.com/catalog/debian/chapter/book/ch07_05.html

Tags:

Reply

Copyright © 2010 timotius witono All rights reserved. Theme by Laptop Geek.