Thursday, March 25, 2021

Change Timezone Linux




https://www.hivelocity.net/kb/how-to-change-date-time-zone-on-linux-server/

https://linuxize.com/post/how-to-set-or-change-timezone-in-linux/


https://askubuntu.com/questions/3375/how-to-change-time-zone-settings-from-the-command-line

Thu Aug 13 08:33:22 IST 2020
$
$timedatectl set-timezone Asia/Calcutta
$date
Thu Aug 13 08:34:22 IST 2020
$timedatectl set-timezone America/New_York
$date
Wed Aug 12 23:04:49 EDT 2020
$timedatectl set-timezone Asia/Calcutta
$date
Thu Aug 13 08:35:21 IST 2020
$ls -l etc/localtime
ls: cannot access etc/localtime: No such file or directory
$ls -l /etc/localtime
lrwxrwxrwx 1 root root 35 Aug 13 08:35 /etc/localtime -> ../usr/share/zoneinfo/Asia/Calcutta
$date
Thu Aug 13 08:36:59 IST 2020
$date
Thu Aug 13 08:37:04 IST 2020

No comments:

Post a Comment

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass