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

how to change timezone in linux

sudo timedatectl set-timezone America/New_York
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

PREVIOUS NEXT
Code Example
Shell :: remote origin already exists 
Shell :: enable telnet using powershell 
Shell :: command to install axios 
Shell :: install tkinter in ubuntu 
Shell :: increase no of watchers 
Shell :: check powershell version 
Shell :: how to fix /opt/lampp/bin/mysql.server: 264: kill: no such process 
Shell :: install wps ubuntu 20.04 multilanguage 
Shell :: powershell zip 
Shell :: install maven in ubuntu 
Shell :: uninstall imagemagick ubuntu 
Shell :: ubuntu list file by size 
Shell :: how to install beautifulsoup4 
Shell :: firewalld permanent rules 
Shell :: git set url with token 
Shell :: zsh: command not found: gatsby 
Shell :: shutdown pc in 10 min run command 
Shell :: how to change java version in linux 
Shell :: Failed to start A high performance web server and a reverse proxy server. 
Shell :: yarn install ignore node version 
Shell :: how to install react router dom with typescript 
Shell :: › Error: Missing required flag: › -a, --app APP app to run command against › See more help with --help 
Shell :: check busy ports linux 
Shell :: Install Material ui on react app 
Shell :: git asking for password every time 
Shell :: how to get mac cpu temp 
Shell :: snap install 
Shell :: sound switch ubuntu 
Shell :: make kitty terminal the default terminal on ubuntu 
Shell :: uncompress tar.xz linux 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =