Jul 22, 2022

How to change timezone for OCI Linux using command line.

  • $ timedatectl
  • $ timedatectl list-timezones
  • $ sudo timedatectl set-timezone <your_time_zone>
    • eg. sudo timedatectl set-timezone Asia/Kolkata
  • To verify the change, invoke the timedatectl command again:
    • $ timedatectl

No comments:

Post a Comment