Unzip, remove, copy, view tomcat commands under Linux

Repeat myeclipse to generate a webservice and delete the previous one, clean

1. Switch to: cd usr/local/tomcat5/logs

2. tail -f catalina.out

3. In this way, you can view the running log in real time while running




Ctrl+c is to exit tail command.
If there is an unknown problem, first note out
  cp /opt/tomcat-6.0.44/webapps/ggbxApp/ggbxApp.zip .
  zip -r
            myfile.zip ./* rm -rf ggbxApp/
1. Compress the mydata directory under the /home directory For mydata.zip
zip -r mydata.zip mydata #Compress the mydata directory
2. Unzip the mydata.zip under the /home directory into the mydatabak directory
unzip mydata.zip -d mydatabak
3. Unzip the abc folder under the /home directory and 123.txt is compressed into abc123.zip
zip -r abc123.zip abc 123.txt
4. Unzip wwwroot.zip under /home directory directly to /home directory
unzip wwwroot.zip
use jar xvf command to unzip, your compressed package Probably a java packaged zip file

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326927726&siteId=291194637