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

linux 备忘录

时间:2018-08-22 00:16:09      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:脚本   防火   top   运行   备忘录   火墙   压缩   grep   查看   

1.  ps aux|grep 程序   -------->查看当前程序是否运行

  ps aux|grep nginx

2.  tar -zxvf  压缩包 ---------> 解压缩

  tar -zxvf apache-tomcat-7.0.85.tar

 

3.  /etc/init.d/iptables status     ------------->查看防火墙状态

 /etc/init.d/iptables stop  ----------------->关闭防火墙

 

4.   ./程序.sh    ---------->启动sh脚本

linux 备忘录

标签:脚本   防火   top   运行   备忘录   火墙   压缩   grep   查看   

原文地址:https://www.cnblogs.com/iscys/p/9515115.html

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