linux command history,

1 init 0
2 date
3 init 0
4 ls /root
5 exit
6 clear
7 cd /
8 ls
9 cd /root
10 ls
11 ls -l
12 more 1.txt
13 vi 1.txt
14 more 1.txt
15 vi 1.txt
16 more 1.txt
17 history
18 init 0
19 pwd
20 cd /
21 pwd
22 cd root/
23 pwd
24 vi 1.txt
25 vi 2.txt
26 more 2.txt
27 vi 3.txt
28 more 2.txt
29 more 3.txt
30 type 3.txt
31 type ./3.txt
32 cat 3.txt
33 vi 3.txt
34 cat 3.txt
35 cat 2.txt
36 more 2.txt
37 vi 3.txt
38 more 2.txt
39 ls -l
40 more 9999.txt
41 more 8888.txt
42 echo LANG
43 echo $LANG
44 export LANG=zh_CN.GBK
45 more 8888.txt
46 more 9999.txt
47 export LANG=zh_CN.UTF-8
48 more 9999.txt
49 ls -l
50 echo $LANG
51 export LANG=c
52 ls -l
53 export LANG=zh_CN.BGK
54 more 9999.txt
55 more 8888.txt
56 export LANG=zh_CN.UTF-8
57 more 8888.txt
58 init 0
59 cd /root
60 cd..
61 cd ..
62 pwd
63 cd /root
64 ls -l
65 ll
66 vi 4
67 ll
68 more 4
69 pwd
70 mv 4 4.sh
71 ll
72 mv 4.sh /5.sh
73 ll
74 cd /
75 ll
76 mv /5.sh /root/4.sh
77 cd /root
78 ll
79 4.sh
80 ./4.sh
81 chmod 754 4.sh
82 ll
83 ./4.sh
84 vi 4.sh
85 ll
86 ./4.sh
87 free
88 free -m
89 init 0
90 free
91 free -m
92 cd /etc/
93 ls
94 cd sysconfig/
95 ll
96 cd network-scripts/
97 pwd
98 ll
99 vi ifcfg-ens33
100 systemctl restart network.service
101 cd /
102 ll
103 ls
104 mkdir software
105 ls
106 ll
107 vi 1.txt
108 ll
109 cd software/
110 pwd
111 ll
112 tar -zxvf jdk-12.0.2_linux-x64_bin.tar.gz
113 ll
114 tar -zxvf apache-tomcat-9.0.22.gz
115 ll
116 rm -f apache-tomcat-9.0.22.gz
117 rm -f jdk-12.0.2_linux-x64_bin.tar.gz
118 cd jdk-12.0.2/
119 pwd
120 export JAVA_HOME=/software/jdk-12.0.2
121 echo $JAVA_HOME
122 export JAVA_HOME=/software/jdk-12.0.2
123 export CLASSPATH=.:$JAVA_HOME/lib/
124 export PATH=$JAVA_HOME/bin:$PATH
125 java -version
126 cd /etc
127 vi profile
128 java -version
129 exit
130 java -version
131 cd /software/
132 ll
133 mv apache-tomcat-9.0.22/ tomcat9
134 ll
135 cd tomcat9/
136 ll
137 cd bin
138 ll
139 ./startup.sh
140 ./shutdown.sh
141 ./startup.sh
142 firewall-cmd --zone=public --add-port=8080/tcp -permanent
143 firewall-cmd --zone=public --add-port=8080/tcp --permanent
144 systemctl restart firewalld.service
145 cd /software/
146 vi Test.java
147 ll
148 javac Test.java
149 ll
150 java Test
151 ps -ef
152 ps -ef|grep tomcat
153 cd tomcat9/
154 cd bin
155 ./shutdown.sh
156 ps -ef|grep tomcat
157 ./startup.sh
158 ps -ef|grep tomcat
159 kill -9 7597
160 ps -ef|grep tomcat
161 history
162 history>/software/1.txt

Guess you like

Origin www.cnblogs.com/zxl934734463/p/11426041.html