linux 自学系列:wc命令
2012-11-29 18:53
686 查看
wc命令为文件查看命令,具体用法如下:
wc [options] file1
常用选项有:
-c 统计字节
-l 统计行数
-w 统计字
此命令可组合使用,如:
wc -clw file1 file2
统计当前文件夹文件数:
ls -l | wc -l
总数还要减1才准确
wc [options] file1
常用选项有:
-c 统计字节
-l 统计行数
-w 统计字
此命令可组合使用,如:
wc -clw file1 file2
统计当前文件夹文件数:
ls -l | wc -l
总数还要减1才准确
相关文章推荐
- 一天一个shell命令 linux文本操作系列-wc命令详解
- linux 自学系列:touch 命令
- linux 自学系列:命令一般格式
- 0219自学Linux_bash特性+命令学习(cut,sort,uniq,wc,tr,histroy,alias)+通配符glob
- linux 自学系列:查看文件命令\more|less命令
- linux 命令系列之 sort 和 wc命令(58)
- Linux自学笔记——grep文本处理工具及wc,cut,sort,uniq命令
- linux 自学系列:文件内容查找命令grep
- 《wc》-linux命令五分钟系列之十七
- 《wc》-linux命令五分钟系列之十七
- Linux基础之文本处理命令(wc,cut,sort,uniq,diff,patch)
- linux中wc命令用法
- Linux系列教程(十五)——Linux用户和用户组管理之用户管理命令
- linux sort,uniq,cut,wc命令详解
- 如何利用多核CPU来加速你的Linux命令 — awk, sed, bzip2, grep, wc等
- linux命令(linux之ls -l|grep "^-"|wc -l命令)
- Linux统计行数命令wc(转)
- linux 自学系列:监测端口占用情况
- Linux下grep、tail、wc、awk文件处理命令
- 《vi中的替换艺术》-linux命令五分钟系列之十一