Skrevet av Emne: Linux: Set date from command line  (Lest 4312 ganger)

ATC

  • Gjest
Linux: Set date from command line
« på: 22. April 2009, 12:56 pm »
  • [applaud]0
  • [smite]0
  • My date and/or time is incorrect and for some reason I can not use NTP or any other means of clock syncronization.



    ATC

    • Gjest
    [Solved] Linux: Set date from command line
    « Svar #1 på: 22. April 2009, 12:56 pm »
  • [applaud]0
  • [smite]0
  • The proper syntax is 'date MMDDhhmm'

    For example
    $ date 04221350
    Wed Apr 22 13:50:00 CEST 2009

    (The timezone will ofcourse be different if you live somewhere else)