Skip to content

Commit 7bfd857

Browse files
authored
Merge pull request dunwu#16 from kid1412621/patch-1
Update linux-cli-system.md
2 parents f25d28f + e966ae7 commit 7bfd857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/linux/cli/linux-cli-system.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ systemctl status nfs-server.service
276276
systemctl restart nfs-server.service
277277

278278
# 6.查看所有已启动的服务
279-
systemctl list -units --type=service
279+
systemctl list-units --type=service
280280

281281
# 7. 开启防火墙 22 端口
282282
iptables -I INPUT -p tcp --dport 22 -j accept

0 commit comments

Comments
 (0)