sudo command
Put ("10", "amount exceeding 30,000 caps");
passwd Modifying the sudo password * * * * It is not necessary to enter the password again for some time.
Cd/usr/local/tomcat_xxl/webapps/root/web-inf/classes/conf
passwd
sudo rm-f conf.properties
Ls-l
sudo mv ~/conf.properties.
sudo bin/startup.sh basic commands
# 160906.txt
/usr/local/tomcat_xxl/webapps/root/web-inf/classes/com/xx/yy/zz/controller
##
sudo mv/home/name/*.class/usr/local/tomcat_xx/webapps/root/web-inf/classes/com/xx/yy/zz
# #点号代表当前目录
sudo mv/home/name/*.class.
sudo mv ~/*.class.
/usr/local/tomcat_xx/webapps/root/web-inf/classes/com/xx/yy/zz/controller
Cd/usr/local/tomcat_xx/bin
sudo./startup.sh
sudo./shutdown.sh
Remove sudo rm-f withdrawalsqscontroller*.class * Number is a wildcard character
sudo ps auwx | grep Java View process
PWD to view the current directory.
View logs: sudo tail-f logs/catalina.out
# 160920
The difference between Linux/and ~
/is the root directory, ~ is home
If you are logged in as a root account,/root/,/Yes/
If you log in as name, ~ is/home/name/,/Yes/
Reference: http://www.360doc.com/content/14/0510/22/17302338_376516638.shtml
Finishing 11:09 2016/9/20
Linux sudo command