Change the date, time, time zone in Debian / Linux

How do I change the time zone in Debian / Linux?
We need to create a symlink from / etc / localtime on the “right” file from the directory / usr / share / zoneinfo /:
# Ln -sf / usr / share / zoneinfo / Europe / Moscow / etc / localtime

Also, I advise to change the corresponding entry in the / etc / timezone

How to change the date and time in Debian / Linux?
# Date MMDDhhmmYYYY.ss

MM – Month
DD – day
hh – hour
mm – minutes
YYYY – year
ss – seconds

How to change the time in Debian / Linux?
# Date –set hh: mm

Leave a Reply

Your email address will not be published. Required fields are marked *