红联Linux门户
Linux帮助

一些Linux命令

发布时间:2007-08-16 20:43:02来源:红联作者:SharpSword
rpm -ql mplayer | cat -n查看软件包信息

另外补充下
[root@centos5h ~]# wc --help

用法:wc [选项]... [文件]...
Print newline, word, and byte 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.

说明:该命令统计给定文件中的字节数、字数、行数。如果没有给出文件名,则从标准输入读取。wc

同时也给出所有指定文件的总统计数。字是由空格字符区分开的最大字符串

-c, --bytes print the byte counts
- c 统计字节数
-m, --chars print the character counts
-l, --lines print the newline counts
- l 统计行数
-L, --max-line-length print the length of the longest line
-w, --words print the word counts
- w 统计字数
--help 显示此帮助信息并退出
--version 输出版本信息并退出
文章评论

共有 0 条评论