How Do I Change Timezone in Linux Terminal?
Contents How Do I Change the Timezone in Linux Terminal? Using the Command Line (Terminal) Open a Terminal Window by Going to Applications>Accessories>Terminal...
Contents
How do I change the timezone in Linux terminal?
Using the Command Line (terminal)
- Open a terminal window by going to Applications>Accessories>Terminal.
- sudo dpkg-reconfigure tzdata.
- Follow the directions in the terminal.
- The timezone info is saved in /etc/timezone – which can be edited or used below.
How do I change timezone from IST to UTC in Linux?
Convert the UTC to IST in linux
- 1.First search for the available time zone by the below command. …
- Then unlink the current timezone sudo unlink /etc/localtime.
- 3.Now set the new timezone. …
- For example sudo ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime.
- Now check the DateTime using date command.