"wc" in shell
2015-07-04 16:41
483 查看
"wc" gives a "word count" on a file or I/O stream:
For example:
wc -w gives only the word count
wc -l gives only the line count
wc -c gives only the byte count
wc -m gives only the character counter
wc -L gives only the length of the longest line.
For example:
wc -w gives only the word count
wc -l gives only the line count
wc -c gives only the byte count
wc -m gives only the character counter
wc -L gives only the length of the longest line.
相关文章推荐
- shell 脚本学习笔记--函数
- 转载:修改xshell中文乱码的问题(管用)
- linux下的shell命令的编写,以及java如何调用linux的shell命令(java如何获取linux上的网卡的ip信息)
- Shell基础
- linux下常用的37条Shell命令
- #Shell脚本 -- 批量生成测试用SQL语句
- 客户端putty, xshell连接linux中vim的小键盘问题
- shell中的命令替换和变量替换
- shell学习三十七天----引用
- shell学习三十六天----命令替换
- bash测试脚本py
- php写shell脚本
- 认真学习shell的第一天-数学运算
- shell中的小括号与大括号
- shell学习三十五天----波浪号展开与通配符
- shell中的括号知多少
- xshell的快捷键(非常实用)
- 运行spark-shell时遇到的主机地址的错误
- 斐波那契shell实现
- shell实例讲解while、for、until、if等