1.
(en) Search the time zone list by the full name or a partial name of the city you wish to set (case-insensitive).
(ko) 시간대 목록에서 설정하려는 도시명 전체 또는 일부(대소문자 구별없이)로 검색
timedatectl list-timezones | grep [city name] --ignore-case
[ Execution log / 실행 로그 ]
ex1)
* (en) Search by the full city name "Los Angeles(los_angeles)"
* (ko) "로스앤젤레스(los_angeles)" 도시명 전체로 검색
gangserver@TCM73-U0424:~$ timedatectl list-timezones | grep los_angeles --ignore-case
America/Los_Angeles
ex2)
* (en) Search for "los" in part of Los Angeles
* (ko) 로스앤젤레스의 일부 "los"로 검색
gangserver@TCM73-U0424:~$ timedatectl list-timezones | grep los --ignore-case
America/Los_Angeles
2.
(en) Set time zone by city name
(ko) 도시명으로 시간대 설정
sudo timedatectl set-timezone America/Los_Angeles
[ Execution log / 실행 로그 ]
gangserver@TCM73-U0424:~$ sudo timedatectl set-timezone America/Los_Angeles
gangserver@TCM73-U0424:~$
3.
(en) Verify that the configured time zone has been applied
(ko) 설정한 시간대가 적용되었는지 확인
timedatectl | grep "Time zone"
[ Execution log / 실행 로그 ]
gangserver@TCM73-U0424:~$ timedatectl | grep "Time zone"
Time zone: America/Los_Angeles (PDT, -0700)
'OS > Linux' 카테고리의 다른 글
| Linux(Ubuntu/CentOS) cpu info command (0) | 2025.03.31 |
|---|---|
| Linux (Ubuntu / CentOS) Intel GPU Monitor (0) | 2025.03.22 |
| Linux free commander (0) | 2025.02.23 |
| OpenJDK 11 / 8 install (0) | 2021.12.14 |
| CentOS / Ubuntu ifconfig install (0) | 2021.06.22 |