常用的文件处理命令
2014-10-03 16:02
169 查看
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
20. stat-------------statistic
stat file
21. file
file filename
22. head
head file
23. more
24. less
25. touch
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
20. stat-------------statistic
stat file
21. file
file filename
22. head
head file
23. more
24. less
25. touch
相关文章推荐
- shell常用文件处理命令
- Linux常用命令之文件处理命令
- Chapter4.1.1linux常用命令 文件处理ls ls
- Centos几个处理文件常用的命令
- 处理AIX文件系统空间不足常用命令及注意事项
- RHCE033复习(一)---常用文本处理命令、打包命令、磁盘文件系统处理命令
- Linux学习笔记(3)Linux常用命令之文件处理命令
- Linux菜鸟学习笔记(常用基本命令之文件处理)
- linux常用命令--目录和文件处理
- linux笔记:linux常用命令-目录和文件处理命令
- linux常用文件处理命令——课堂笔记
- Linux常用命令之文件处理命令
- linux常用文件处理命令
- linux常用命令一之文件处理命令
- Linux学习笔记(3)Linux常用命令之文件处理命令
- bat批处理文件中常用命令释疑
- shell 的常用文件处理命令
- Linux 学习之——Linux常用命令(一):文件处理命令
- Linux 常用文件处理命令
- linux常用命令一之文件处理命令