以下是我今天 练习的命令
1 ls
2 pwd
3 netstat -anp
4 exit
5 cd /home
6 mkdir hong
7 ls
8 cd..
9 cd hong
10 cd ..
11 cd
12 cd h
13 pwd
14 cd /home
15 cd hong/
16 ls
17 groupadd test
18 useradd
19 useradd hong
20 usermod -g
21 usermod -g test hong
22 passwd hong
23 su hong
24 whoami
25 ll
26 man chown
27 chown hong:test hong
28 ll
29 exit
30 ls
31 pwd
32 cd ..
33 ls
34 ll -l
35 cd home
36 ls
37 mkdir guo
38 ls
39 cd guo
40 pwd
41 who
42 last
43 history
44 su hong
45 history
46 su hong
47 ls
48 cd /home/
49 cd hong/
50 ls
51 history
52 exit
53 pwd
54 ls
55 ls -l
56 ll
57 pwd
58 echo $HISTFILE
59 vi /root/.bash_history
60 ll
61 ls -a
62 ls
63 history