1. ls-----------list
ls -l
ls -t
ls -u
ls -r
ls file
2. ed----------edit
a
.
q
3. cp ---------copy
cp file1 file2
cp -R dirtory1 dirtory2
4. mv----------move
mv file1 file2
5. rm---------remove
rm file
rm -f file
rm -r dirtory
6. cat---------catenate
cat file
7. pr----------print
pr file
pr -n file
8. wc----------word count
wc file
wc -l file
9. grep---------globally search a regular expression and print
grep file
grep -v pattern file
10. sort
sort file
sort -n
11. tail
tail file
tail -n file
tail +n file
12. cmp-----------compare
cmp file1 file2
13. diff-------------different
diff file1 file2
14. pwd-------------print working directory
pwd
15. cd----------------change directory
cd directory
16. mkdir------------make directory
17. rmdir------------remove directory
19. tee
原文地址:http://www.cnblogs.com/lhmily/p/4005029.html