码迷,mamicode.com
首页 > 系统相关 > 详细

linux之kill命令

时间:2017-03-17 23:35:17      阅读:248      评论:0      收藏:0      [点我收藏+]

标签:作业   python   查询   桌面   kill -9   grep   pytho   linux   lin   

作业四:查询firewall进程,然后杀死

[root@localhost 桌面]# ps -aux |grep firewall

root        772  0.0  2.0 327912 20704 ?        Ssl  15:23   0:00 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid

root       5323  0.0  0.0 112660   996 pts/0    R+   16:46   0:00 grep --color=auto firewall

[root@localhost 桌面]# kill -9 772

[root@localhost 桌面]# ps -aux |grep firewall

root       5521  0.0  0.0 112656   996 pts/0    R+   17:01   0:00 grep --color=auto firewall

linux之kill命令

标签:作业   python   查询   桌面   kill -9   grep   pytho   linux   lin   

原文地址:http://www.cnblogs.com/asaka/p/6568946.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!