标签:grep net pac tables accept vim head tab pid
cd /rootvim /etc/profile
CATALINA_HOME=/usr/local/tomcat
CATALINA_PID=$CATALINA_HOME/catalina.pid
export CATALINA_HOME CATALINA_PID
source /etc/profile
sh /usr/local/tomcat/bin/startup.sh
tail -200f /usr/local/tomcat/logs/catalina.out
sh /usr/local/tomcat/bin/shutdown.sh
ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head
netstat -tunpl
iptables -I INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
标签:grep net pac tables accept vim head tab pid
原文地址:http://blog.51cto.com/zuoshou/2308165