|
发表于 2003-11-25 16:49:15
|
显示全部楼层
[quote:00cde43547="hainanxq"]根本不行,老大,你不是骗人的吧[/quote]
[root@redhat71 /tmp/123]# touch 1.mp3 2.mp3 3.mp3
[root@redhat71 /tmp/123]# ls
1.mp3 2.mp3 3.mp3
[root@redhat71 /tmp/123]# ls | wc -l
3
[root@redhat71 /tmp/123]# wc --help
用法:wc [选项]... [文件]...
Print byte, word, and newline counts for each FILE, and a total line if
more than one FILE is specified. With no FILE, or when FILE is -,
read standard input.
-c, --bytes print the byte counts
-m, --chars print the character counts
-l, --lines print the newline counts
-L, --max-line-length print the length of the longest line
-w, --words print the word counts
--help 显示此帮助信息并离开
--version 显示版本信息并离开
Report bugs to <[email protected]>.
[root@redhat71 /tmp/123]# |
|