tail命令 ctrl+c 退出
总结一下今天用到的命令,和对于linux结构要更加深层次理解
pwd
cd ..
ls
cd / 到达根目录
cat
vim
sudo –s
sudo cp –a
sudo 启动tomcat
[图片上传失败...(image-ab8022-1582022548446)]
rm –rf
ps –ef|grep java
ls /export/servers/
jdk1.6.0_25 jdk1.7.0_71 jdk1.8.0_66 nginx tomcat6.0.33 tomcat7.0.61 tomcat8.0.42
cd /home/wy/
ls
java tomcat tools www
rm -rf tomcat
ln -s /export/servers/tomcat8.0.42 tomcat
cat /home/wy/www/cjdm_fintech_auth_core.wangying.com/conf/server.xml
java –version
source /etc/profile
[root@YZ-222-26-107 java]# ll
total 70412
lrwxrwxrwx 1 root root 27 Feb 18 16:46 default -> /export/servers/jdk1.8.0_66
drwxr-xr-x 8 root root 4096 Feb 18 10:15 jdk1.6.0_45
drwxr-xr-x 8 root root 4096 Aug 27 2013 jdk1.7.0_40
drwxr-xr-x 8 root root 4096 Jun 30 2016 jdk1.8.0_65
-rwxr-xr-x 1 root root 72087592 Sep 25 2013 jdk-6u45-linux-x64.bin
网友评论