Setting the time

From The World according to Vissie
Jump to navigation Jump to search

Date and Time

Type date to see current date and time. (Use -R to get a standard unambiguous format. Locale specific timezones are ambiguous.)

date -R

Install NTP

apt-get install ntp


ntpq -p

to see servers you are syncing with.

Type date again to see if the time changed. You time should be synced in a next minute.