Atitit common linux cmd
[root@izuf6cpeatw5z50rhgi42ez web-tomcat8]# cd logs
[root@izuf6cpeatw5z50rhgi42ez logs]# tail
tail ^H^H^H^H^H
# tail -f /usr/local/web-tomcat8/logs/catalina.out
/etc/nginx -s reload
find / -name nginx.conf
find / -name nginx.conf
/usr/sbin/nginx -s reload
/opt/gitlab/service/nginx -s reload
/usr/share/nginx -s reload
another win.... tail -f /usr/local/web-tomcat8/logs/catalina.out
/usr/local/web-tomcat8/bin/startup.sh
/etc/nginx/nginx.conf
another win.... tail -f /usr/local/admin-tomcat8/logs/catalina.out
/usr/local/admin-tomcat8/bin/startup.sh
jenkins-tomcat8
/usr/local/jenkins-tomcat8/bin/startup.sh
fac server tomcat 11.93
/tt/www/api-tomcat9/bin/startup.sh
/tt/www/admin-tomcat9/bin/startup.sh
tail -f /tt/www/admin-tomcat9/logs/catalina.out
tar -cvjpf /tt/ttApp339.tar /tt/app
tar -cvjpf /adminbek/admin329.tar /tt/www/admin-tomcat9/webapps/admin
tar -cvjpf /tt/ttApp315.tar /tt/app
-z //使用gzip进行压缩/解压,一般使用.tar.gz后缀
-j //使用bzip2进行压缩/解压,一般使用.tar.bz2后缀
tar -cvjpf /tt/groupbuy325.tar /tt/app/groupbuy
mv /tt/www/admin-tomcat9/webapps/admin.war ../backup
#############fac server tomcat 11.93 wecaht backed publish
mv /tt/www/api-tomcat9/webapps/api.war /tt/www/api-tomcat9/backup/api.war.21
cp /tt/www/api-tomcat9/webapps/api.war /tt/www/api-tomcat9/backup/api.war.41
cp /tt/www/api-tomcat9/backup/api.war.320 /tt/www/api-tomcat9/webapps/api.war
cp /tt/www/api-tomcat9/backup/api.war.41 /tt/www/api-tomcat9/webapps/api.war
/tt/www/api-tomcat9/bin/startup.sh
ps -ef|grep tomcat
tail -f /tt/www/api-tomcat9/logs/catalina.out
/tt/www/api-tomcat9/bin/startup.sh
/tt/www/api-tomcat9/webapps/api.war
#############fac server tomcat 11.93 admin
cp /tt/www/admin-tomcat9/webapps/admin.war /tt/www/admin-tomcat9/backup/admin.war.42
mv /tt/www/admin-tomcat9/webapps/admin.war /tt/www/admin-tomcat9/backup/admin.war.320
ps -ef|grep tomcat
kill
tail -f /tt/www/admin-tomcat9/logs/catalina.out
/tt/www/admin-tomcat9/bin/startup.sh
/tt/www/api-tomcat9/bin/startup.sh
ls -R /tt/file_upload
ls /tt/file_upload
unzip -n /tt/www/api-tomcat9/webapps/api.war -d /tt/www/api-tomcat9/webapps/api
tar -xvf /tt/www/api-tomcat9/webapps/api.war
unzip -n /tt/www/api-tomcat9/backup/tt-yxt-0.0.1-SNAPSHOT.war -d /tt/www/api-tomcat9/webapps/api
D:\wamp\bin\mysql\mysql5.5.20\bin\mysqldump.exe -uroot -proot --set-charset=utf8 %dbname% --result-file=%sql_bakName%
/tt/www/web-nginx1142/sbin/nginx -s reload
/usr/sbin/nginx -s reload (36.serv)
useradd -d /tt/app frt
useradd -d /home/jc -m jc
[root@b etc]# passwd frt
java -cp /sqlbek/classes:/lib/* com.attilax.wechatToto.ProdwechatMenuScript
java -cp /sqlbek/classes:/lib/* com.attilax.wechatToto.ProdMenuWrite /0db_tmpTable/prodTotoYonsyeteo_menu2019-04-01.175713.json
nohup java -cp /redisJsDriver/WEB-INF/classes:/redisJsDriver/miniPrjjars/*:/redisJsDriver/tomcatlib/* redisJsDriverPkg.redisJsDriver 888 /redisJsDriver > /redisSvs.log 2>&1 &
http://47.100.12.36:888/api_redis?param=-cfg /0db/redis_36.txt -get access_token
http://stoken.chinesesr.com/tokenapp/api_redis?param=-cfg /0db/redis_36.txt -get access_token
/0db_tmpTable/prodTotoYonsyeteo_menu111.json
scp root@172.19.162.236:/tt/www/admin-tomcat9/webapps/admin.war /tt/www/admin-tomcat9/webapps/
scp root@172.19.162.236:/tt/www/api-tomcat9/webapps/api.war /tt/www/api-tomcat9/webapps/