Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux set date timezone

# To view timezone
timedatectl

# list all available timezones
timedatectl list-timezones

# update timezone
sudo timedatectl set-timezone your_time_zone
Comment

check timezone linux

date
timedatectl
Comment

linux how to display current time with timezone

timedatectl

Output
------------
                      Local time: Tue 2019-12-03 16:30:44 UTC
                  Universal time: Tue 2019-12-03 16:30:44 UTC
                        RTC time: Tue 2019-12-03 16:30:44
                       Time zone: Etc/UTC (UTC, +0000)
       System clock synchronized: no
systemd-timesyncd.service active: yes
                 RTC in local TZ: no
Comment

where are timezones located linux

/usr/share/zoneinfo/
Comment

PREVIOUS NEXT
Code Example
Shell :: git pull remote changes to local 
Shell :: gnutls_handshake() failed: An unexpected TLS packet was received. 
Shell :: bash kill all terminal 
Shell :: how to install cassandra 
Shell :: grep find and show lines after 
Shell :: shell function example 
Shell :: add job to crontab 
Shell :: erlang clear shell 
Shell :: chokidar npm 
Shell :: get disk partitions linux 
Shell :: ubuntu move folder to another directory 
Shell :: install office in ubuntu 
Shell :: reverse search command mac 
Shell :: set multiple git username and password 
Shell :: lookup function in terraform 
Shell :: git github account change 
Shell :: git initial commands 
Shell :: how to install opencv in anaconda, jupyter notebook 
Shell :: install yarn fedora 
Shell :: / bin/sh: 1: bc: not found 
Shell :: make current branch master 
Shell :: install evil-winrm on kali linux 
Shell :: merge feature branch into master 
Shell :: Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. 
Shell :: npm http server 
Shell :: how to add image in readme.md 
Shell :: set path environment variable mac permanently 
Shell :: how to remove filmora watermark 
Shell :: osx kill process on port 
Shell :: windows wsl 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =