How do I reset the date in Linux?

How do I reset the date in Linux?
Answer
Set Time, Date Timezone in Linux from Command Line or Gnome | Use ntp
  1. Set date from the command line date +%Y%m%d -s “20120418”
  2. Set time from the command line date +%T -s “11:14:00”
  3. Set time and date from the command line date -s “19 APR 2012 11:14:00”
  4. Linux check date from command line date. …
  5. Set hardware clock.
 

Tìm kiếm

Back
Top