Commit 9211de
2025-11-27 08:18:18 Terry: 创建| /dev/null .. it运维/linux/ubuntu 修改时区.md | |
| @@ 0,0 1,17 @@ | |
| + | # Ubuntu 修改时区 |
| + | |
| + | 1. 命令如下: |
| + | |
| + | ```bash |
| + | timedatectl set-timezone Asia/Shanghai |
| + | |
| + | ``` |
| + | |
| + | 2. 然后输入 date 验证 |
| + | |
| + | ```bash |
| + | root@xxx:~# timedatectl set-timezone Asia/Shanghai |
| + | root@xxx:~# date |
| + | Thu Nov 27 04:16:37 PM CST 2025 |
| + | root@xxx:~# |
| + | ``` |