????????????
????1.??compose Bar???????????????????в????????To All Sessions
????2. ??JAVA?????
????ps -ef | grep java
????ps auxf | grep java
????3.???JAVA?????
????pkill java ?????з??????????????????????java?????
????kill -9 ????ID
????ps -ef | grep "Dcatalina.base=/usr/oa/appserver" | grep -v "grep" | awk '{print   $2} ' | xargs kill -9
????4.????????г???
????cd /usr/oa/bin  (???????????)
????cd .. (?????????)
????./startup.sh  ./stop.sh  (??е?????μ????)
????5.??????????
????su root ???л???root????£?
????6.??????
????ll ?????????????????
????ls??????????????????
????7.??linux????????????
????1)???vi?????????????vi index.jsp
????2)??????????????????i ???????
????3)???????esc??????? shift+e?? ??????wq
????8.????????????
????df -h
????9.?????????建?????????
????1.?????????pwd
????2.????????rm -rf ???????
????10.???????
????cp  -r  /user/oa  /usr_back_oa
????11.?????
????tail -r catalina.out
????tail -n 300 catalina.out
????12.?????
????cat fileName.xml
????13.??IP????????????????
????ifconfig               --??IP??????????????if?????????ip
????service sshd status    --??sshd???????
????service sshd start     --???sshd???????
????chkconfig --list
????chkconfig --list | grep sshd ?????÷???
????14.?г?????????????????
????lsof -n|awk '{print $2}' |sort|uniq -c |sort -nr|more
??????????JAVA??????????
????ps -ef| grep java | awk '{print $2}' | awk 'NR==1'| xargs lsof -p | wc -l
????15.?????ps -ef|grep java???????12120???????
????lsof -p 12120 |wc -l
????16.?tomcat???????????sudo??username??????
????sudo chown -R username /Users/username/Documents/tomcat