개발/Linux

시간설정

Ridiss 2022. 10. 19. 07:53

$ timedatectl 입력

하면 위와같이 UTC로 세팅되어있는것을 확인 할 수 있다.

 

timedatectl list-timezones | grep Seoul

입력하면 

Asia/Seoul 이 출력되는데

 

이걸 적용시키면 된다.

 

sudo timedatectl set-timezone Asia/Seoul

적용하면 Localtime이 KST로 변경된것을 확인 할 수 있다.