•
How to set datetime in Linux system by command line
Yesterday, I found problem about date&time system on Linux server virtual machine on VMServer. That virtual machine has shifted time by automatic and this is example how to use command line set date&time in Linux server. If you want to set current date&time to January 30, 2008 22:56:42 , you can use this command.
| # date 013022562008.42 |
But I think, this is not good solution for fix this problem, it should be used synchronize time by NTP(Network Time Protocol) server .
Why does virtual machine on vmware shift time?
And this is answer.
Tags:Command line, linux, vmware•
2 Responses to “How to set datetime in Linux system by command line”
•







31. January 2008 at 12:10 am :
You should use synchronize time by NTP because it’s forced on the law.
31. January 2008 at 12:14 am :
Ohh , really. I don’t know that.
Thank, krub.