Shell脚本编程

systemctl中ctl 代表含义

2019-07-17  本文已影响0人  光小月

来源: https://wangzhigang.org/2018/03/12/systemctl%E4%B8%AD%E7%9A%84ctl%E4%BB%A3%E8%A1%A8%E5%90%AB%E4%B9%89/

systemctl命令是Linux系统服务管理器指令,它实际上将 service 和 chkconfig 这两个命令组合到一起

举例子,开启MySql服务

systemctl start mysqld #以前是service mysqld start
官方说明:

systemctl — Control the systemd system and service manager

以前一直想systemctl中的ctl 什么意思,后来谷歌了下,发现是Control的意思啊

还有 ps aux |grep python 中的ps代表 process status

常见缩写i18n、addr、msg、btn等

PS: 若你觉得可以、还行、过得去、甚至不太差的话,可以“关注”一下,就此谢过!

上一篇 下一篇

猜你喜欢

热点阅读