1. Linux 현재 시간 확인 (현재 타임존)
$ date
Mon Mar 25 22:50:28 EDT 2024
2. Linux 현재 타임존 확인 → New_York 설정 확인
$ ls -al /etc/localtime
lrwxrwxrwx. 1 root root 38 Mar 21 23:42 /etc/localtime -> ../usr/share/zoneinfo/America/New_York
3. 타임존을 한국 표준시(KST)로 변경
$ ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
4. 변경된 타임존 확인
$ ls -al /etc/localtime
lrwxrwxrwx 1 root root 30 Mar 26 11:52 /etc/localtime -> /usr/share/zoneinfo/Asia/Seoul
5. 현재 시간 확인 (변경된 타임존)
$ date
Tue Mar 26 11:52:57 KST 2024
'OS(운영체제) > 리눅스(Linux)' 카테고리의 다른 글
Ubuntu 서버 resolv.conf 초기화되는 문제 해결 (0) | 2024.04.01 |
---|---|
D-State → Uninterruptible sleep 프로세스 상태 (0) | 2024.03.30 |
/etc/fstab 파일 (0) | 2024.03.16 |
파일 시스템(Filesystem) (1) | 2024.03.16 |
atime(access time), mtime(moditied time), ctime(inode changed time) (0) | 2024.03.16 |