1 ifconfig
2 ls
3 ls
4 ps -ef
5 cat /etc/redhat-release
6 uname -a
7 ls
8 more aa1.txt
9 cd aa
10 more aa1.txt
11 less aa1.txt
12 tail aa1.txt
13 head -1 aa1.txt
14 stat aa1.txt
15 chmod 0655 aa1.txt
16 stat aa1.txt
17 owd
18 pwd
19 cd ~
20 ls
21 ls ./aa
22 cd aa
23 touch aa2.txt
24 ls
25 cd ../
26 ln -s /home/liuy/aa/aa2.txt linkaa2.txt
27 ls
28 cd linkaa2.txt
29 ln /home/liuy/aa/aa1.txt linkaa1.txt
30 ll
31 ls
32 mkdir ./aa
33 l
34 ls
35 gedit aa
36 cd aa
37 touch aa1.txt
38 gedit aa1.txt
39 cat aa1.txt
40 ls
41 touch File.txt
42 ls
43 touch -d "2024-01-10 14:17" File{1..2}.txt
44 ls
45 ll ./File1.txt
46 ls
47 ls ./aa
48 cat aa1.txt
49 cd aa
50 cat aa1.txt
51 cd ../
52 more File1.txt
53 more File.txt
54 head File.txt
55 tail File.txt
56 tail File.txt -n
57 tail File.txt -1
58 tail -1 File.txt
59 stat File.txt
60 chmod 0666 File.txt
61 stat File.txt
62 ll
63 ls
64 chmod -R 666 aa
65 sudo chmod -R 666 aa
66 rmkdir File1.txt
67 mkdir File1.txt
68 rm File1.txt
69 ls
70 cd linkaa2.txt
71 ls aa
72 ls ./aa
73 rm -i File2.txt
74 ls
75 rm -i File2.txt
76 ls
77 rm -rf aa
78 chmod a+x aa
79 rm -rf aa
80 ls
81 cd linkaa1.txt
82 ll
83 rm linkaa2.txt
84 ll
85 cp linkaa1.txt File.txt
86 ls File.txt
87 mkdir Dir1
88 mkdir Dir2
89 cd Dir1
90 touch file1.txt
91 cd ../Dir2
92 touch file1.txt
93 cd ~
94 ls
95 cd Dir1
96 touch file2.txt
97 cd ~
98 cp -a Dir1 Dir2
99 ls Dir2
100 ls Dir1
101 mv ./Dir1/file1.txt ./Dir2
102 ls Dir1
103 ls Dir2
104 ls
105 cd Dir2
106 ls
107 ls Dir1
108 ln file1.txt flinkfile1.txt
109 ln ./Dir1/file1.txt slinkfile1.txt
110 ls
111 cd ~
112 ls
113 cd Dir2
114 ls
115 cd slinkfile1.txt
116 pwd
117 cd ~
118 ls
119 vim File.txt
120 cat File.txt
121 vim File.txt
122 fg
123 history > mylog.txt
练习:rhel文件管理命令
最新推荐文章于 2024-10-02 16:50:28 发布