文档库 最新最全的文档下载
当前位置:文档库 › 系统控制台cmd命令大全

系统控制台cmd命令大全

1 service network restart
2 reboot
3 ls
4 exit
5 cd /
6 ls
7 cd root
8 ls
9 vi install.log
10 rsh
11 rsh -l 192.168.0.201
12 rsh 192.168.0.201
13 ls
14 cd \
15 cd /
16 ls
17 cd etc
18 ls
19 l
20 su -l xly
21 gcc
22 ls
23 su -l xly
24 exit
25 logout
26 shutdown -h now
27 fc
28 shutdown -h now
29 history
30 vi bash
31 fc
32 vi bash
33 ls
34 echo bash
35 history -10 cmd.txt
36 history -10 -r-w cmd.txt
37 history -10 -w cmd.txt
38 ls
39 history -w cmd.txt
40 ls
41 vi cmd.txt
42 alias hist history
43 history
44 alias
45 alias hist 'history'
46 alias hist = 'history'
47 alias
48 alias vii = 'vim'
49 vim
50 alias hist='history'
51 hist
52 his
53 PS1
54 echo PS1
55 PS1
56 PS1="input a cmd:"
57 ls
58 exit
59 ls
60 vi lilo.conf.anaconda
61 lilo -v
62 lilo -v lilo.conf.anaconda
63 LILO -v lilo.conf.anaconda
64 lilo --help
65 vi lilo.conf.anaconda
66 ls
67 cd/
68 cd /
69 ls
70 cd boot
71 ls
72 cd grub
73 ls
74 ls
75 grup install
76 vi grub.conf
77 ssh
78 rsh
79 rsh -l 192.168.0.202
80 rsh -l 192.168.0.202 login
81 rsh -nd 192.168.0.202 login
82 rsh -nd 192.168.0.202 ls
83 rsh node161
84 ls
85 cd ..
86 ls
87 cd ..
88 ls
89 bash
90 PS2="more info:"
91 ls
92 /!
93 /! hist
94 \!
95 \! hist
96 \! history
97 \# ls
98 ls \!
99 \!
100 \h
101 h
102 !
103 !
104 !
105 \!
106 bash \!
107 bash cmd.txt
108 PS1
109 PS1="input a cmd"
110 PS1="\d"
111 PS1="\W"
112 PS1="w"
113 PS1="\w"
114 PS1="\!"
115 "PS1="\#"
116 \$
117 PS1="\$"
118 h
119 PS1="\h"
120 exit
121 quit
122 \t
123 PS1="\t"
124 PS1="\h"
125 PS1="\s"
126 PS1="\u"
127 exit
128 pwr
129 pwd
130 cd 'pwd
131 '
132 cd 'pwd'
133 ls
134 pwd
135 cd pwd
136 cd 'pwd'
137 sleep 10&
138 find /-name -print>/root/test &
139 find /-filelist.txt -print>/root/test &
140 exit
141 cd~user
142 pwd
143 exit
144 ls
145 grep /usr/etc/passwd
146 pwd
147 ls
148 cd ..
149 ls
150 cd..
151 cd ..
152 grep /usr/etc/passwd
153 grep ./usr/etc/passwd
154 cd /usr/etc
155 ls
156 ls
157 exit
158 service network restart
159 service network restart
160 service network restart
161 service network restart
162 netstat
163 write xly "adfsadf"
164 write root "adfsadf"
165 write xly
166 clear
167 ftp
168 ftp
169 exit
170 ls
171 vi install.log
172 l

s
173 cd test
174 vi test
175 ifconfig
176 ls
177 ping 192.168.0.202
178 exit
179 cd /
180 ls
181 login
182 login
183 login xly
184 ftp
185 exit
186 logout
187 shutdown -h now
188 ls
189 cd /
190 cd ls
191 ls
192 ls -l
193 ls --help
194 ls -r
195 ls -r-l
196 ls -Rl
197 ls
198 poweroff
199 shutdown -r
200 shutdown -r now
201 ls
202 cd ls
203 cd cd /
204 ls
205 cd ls
206 cd /
207 ls
208 vi cmd.txt
209 history
210 echo
211 echo hello,world
212 ls
213 vi cmd.txt
214 history
215 history
216 echo path
217 path
218 pwd
219 ps1
220 PS1
221 hist
222 history
223 history
224 fc
225 history -10
226 history -10
227 history
228 history -3
229 history 3
230 fc
231 history 44443
232 history 44443
233 history -r cmd20100809.txt
234 ls
235 ls -l
236 history
237 history -w cmd20100809.txt
238 ls
239 vi cmd20100809.txt
240 mk newdit
241 mkdir newdir
242 vi cmd20100809.txt
243 history -a cmd20100809.txt
244 ls
245 vi cmd20100809.txt
246 history -a cmd20100809__.txt
247 history 5 cmd20100809__1.txt
248 history -5 cmd20100809__1.txt
249 history -5 cmd20100809__1.txt
250 history -5 cmd20100809__.txt
251 history -5 cmd20100809.txt
252 history 5 cmd20100809.txt
253 history --help
254 history -5
255 history 5
256 history 5 cmd20100809.txt
257 history -w10 cmd20100809_10.txt
258 history -w|10 cmd20100809_10.txt
259 history 5 cmd20100809__1.txt
260 history -5 cmd20100809__1.txt
261 history -5 cmd20100809__1.txt
262 history -5 cmd20100809__.txt
263 history -5 cmd20100809.txt
264 history 5 cmd20100809.txt
265 history --help
266 history -5
267 history 5
268 history 5 cmd20100809.txt
269 history -w10 cmd20100809_10.txt
270 history -w|10 cmd20100809_10.txt
271 history -w-10 cmd20100809_10.txt
272 history -w -10 cmd20100809_10.txt
273 history -w 10 cmd20100809_10.txt
274 vi cmd20100809_10.txt
275 vi cmd20100809_10.txt
276 history 10 -w cmd20100809_10.txt
277 history 10 -w cmd20100809_11.txt
278 history -w 5 cmd20100809_11.txt
279 vi cmd20100809_11.txt
280 history -rw 5 cmd20100809_11.txt
281 history -w cmd20100809_11.txt
282 vi cmd20100809_11.txt
283 alias hist='history'
284 hist
285 alias hist ='history'
286 alias hist = 'history'
287 alias hist= 'history'
288 alias hist='history'
289 alias his='history'
290 his
291 exit
292 cd 'pwd'
293 pwd
294 cd'pwd'
295 cd "pwd"
296 cd ^pwd^
297 sleep
298 sleep --help
299 sleep 10&
300 ps -e
301 ps -ef
302 ps -efu
303 ps -efut 1
304 ps -efut 2
305 ps -efut 3
306 ps
307

kill ps -9
308 kill ps9
309 kill 2419
310 ps -eft
311 ps -e
312 kill 2420 -9
313 kill 9 2420
314 kill 2420
315 kill 2421
316 ps -e
317 ls /etc/passwd
318 cd /
319 ls
320 cd etc
321 ls
322 ls passwd
323 vi passwd
324 ls -l
325 vi group
326 useradd xly2
327 tail -l passwd
328 la /home
329 l
330 ls
331 cd ..
332 ls
333 cd home
334 ls
335 cd xly2
336 ls
337 ls -l
338 usermod xly_2 xly2
339 usermod -l xly_2 xly2
340 ls
341 cd ..
342 ls
343 tail -l passwd
344 cd ..
345 tail -l passwd
346 ls
347 cd /etc
348 tail -l passwd
349 login
350 passwd xly3 -S
351 passwd xly3 -u
352 passwd xly3 -f
353 login
354 ls
355 userdel xly_2
356 ls
357 cd /home
358 ls
359 cd /etc
360 tail -l passwd
361 ls
362 cd /
363 ls
364 cd home
365 ls
366 userdel -r xly_2
367 ls
368 useradd xly2
369 useradd xly3
370 ls
371 userdel -r xly3
372 ls
373 groupadd lbgroup
374 grep /etc/group
375 grep lbgroup /etc/group
376 groupadd -r syslbgroup
377 grep syslbgroup /etc/group
378 groupmod -g 503 /etc/group
379 ls
380 cd /
381 groupmod -g 503 /etc/group
382 groupmod -g 503 lbgroup /etc/group
383 groupmod -g 503 lbgroup
384 grep lbgroup /etc/group
385 groupmod -n lb2group lbgroup
386 ls
387 grep lbgroup /etc/group
388 grep lb2group /etc/group
389 groupdel lb2group
390 ls
391 grep lb2group /etc/group
392 grep lbgroup /etc/group
393 passwd -s
394 passwd -S
395 cd /home
396 ls
397 useradd xly2
398 useradd xly3
399 ls
400 su -l xly3
401 passwd -l xly2
402 passwd -l
403 passwd -l xly
404 passwd -u xly
405 passwd
406 passwd xly2
407 su -l xly2
408 su -l xly_2
409 gpasswd -a xly3 xly
410 grep xly3 /etc/group
411 cd /etc
412 vi group
413 gpasswd -a xly2 xly
414 useradd xly4
415 gpasswd -a xly4 xly
416 grep xly /etc/group
417 gpasswd -d xly4
418 gpasswd -d xly4 xly
419 grep xly /etc/group
420 ls -a
421 ls -l
422 more
423 ls -l|more
424 more
425 ls -i
426 ls R
427 ls -R
428 ls -LR
429 ls
430 ls
431 ls -l
432 cd /
433 ls
434 ls -lR
435 ls
436 ls -R home
437 ls -S home
438 ls -SR home
439 cd /etc
440 cd /home
441 ls
442 cd /etc
443 ls
444 cd /usr
445 ls
446 cd /
447 ls
448 cd ..
449 cd .
450 ls
451 cd .
452 ls
453 cd .
454 ls
455 cd ..
456 ls
457 cd /
458 ls
459 cd ..
460 ls
461 cd ~
462 ls
463 cd usr/bin
464 cd /usr\bin
465 cd /usr/bin
466 ls
467 pwd
468 cd 'pwd'
469 exit
470 find /home -user xly -atime 2
471 find /home -user xly -atime

10
472 find /home -user xly -atime 10 -exec ls -l
473 find /home -user xly -atime 10 -exec ls -l{}\;
474 find /home -user xly -atime 10 -exec ls -l{}\;:
475 find /home -user xly -atime 10 -exec ls -l {}\;
476 find /home -user xly -atime 10 -exec ls -l {} \;
477 find /home -user xly -atime 10 -exec cat {} \;
478 find /home -user xly -atime 10 -exec cat {} \; |more
479 find /home -user xly -atime 10 -exec cat {} \;
480 find /home -user xly -atime 10 -exec cat {} \;
481 find /home -user xly -atime 10 -exec cat {} \;
482 find /home -user xly -type f
483 find /home -user xly -type b
484 find /home -user xly -type c
485 find /home -user xly -type d
486 find /home -user xly -type f -size 1024
487 find /home -user xly -type f -numberc 1024
488 find /home -user xly -type f -number 1024
489 find /home -user xly -type f -numberc 1024 -print
490 find /home -user xly -type f -numberc -print
491 find /home -user xly -type f -print
492 find /home -user xly -type f -Numberc 1024 -print
493 find /home -user xly -type f -Size 1024 -print
494 find /home -user xly -type f -size 1024 -print
495 find /home -user xly -type f -size 1024 -print
496 find /home -user xly -type f -Number 1024 -print
497 find /home -user xly -type f -Number 1024
498 find /home -user xly -type f -Number
499 find -size -10 -print
500 find -size -10c -print
501 find -size -100c -size +200c -print
502 find -size -100c -size +200c -exec ls -s {} \;
503 find -size +100c -size -200c -exec ls -s {} \;
504 grep xly /etc/passwd
505 grep -c xly /etc/passwd
506 grep -c -n xly /etc/passwd
507 grep -n xly /etc/passwd
508 grep -n -i xly /etc/passwd
509 history > cmd20100810.txt

相关文档