Skip to content

Commit f395980

Browse files
committed
update
1 parent 0fdb58b commit f395980

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

content/posts/9AFC3EFAEC15479BB5FBC6F670594A94.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export TZ='CST-8'
2828

2929
## Linux 系统时间不同步问题
3030

31-
Linux 系统时间比正常时间快几分中或慢几分钟,但是时区是正确的 CST 时区,这是就要用到 `ntpdate` 这个命令了
31+
Linux 系统时间比正常时间快几分中或慢几分钟,但是时区是正确的 CST
32+
时区,这是就要用到 `ntpdate` 这个命令了
3233

3334
1. 安装
3435

@@ -49,7 +50,7 @@ pacman -S ntpdate
4950

5051
执行命令如下:
5152

52-
```
53+
```bash
5354
ntpdate cn.pool.ntp.org
5455
```
5556

@@ -77,8 +78,6 @@ crontab -e
7778
0 * * * * /usr/sbin/ntpdate cn.pool.ntp.org
7879
```
7980

80-
81-
8281
## 参考资料
8382

8483
- https://linux265.com/news/6009.html

0 commit comments

Comments
 (0)