Linux命令-wc
2016-09-07 12:27
211 查看
wc命令用于统计指定文本的行数、字数、字节数
格式:wc [参数] 文本
参数解释
格式:wc [参数] 文本
[root@localhost test]# wc test.txt 6 14 79 test.txt [root@localhost test]# cat -n test.txt 1 linux is good 2 python is good 3 hello world hello world 4 hello linux 5 6 hello python [root@localhost test]#
参数解释
-l 只显示行数 -w 只显示单词书 -c 只显示字节数
相关文章推荐
- Linux命令-tr
- Linux命令(13)---date
- 【转载】Linux cgroup资源隔离各个击破之 - io隔离
- Linux VNC server 安装配置
- 【转载】Linux cgroup资源隔离各个击破之 - cpu隔离1
- linux磁盘管理LVM使用指南
- 消息队列RabbitMQ的安装
- 如何在linux CentOS 上安装chrome 谷歌浏览器?
- Linux下安装mysql-5.6.12-linux-glibc2.5-x86_64.tar.gz
- Linux命令-free
- Linux添加定时任务
- linux性能分析及优化
- linux tail命令的使用方法详解
- LDAP服务器的概念和原理简单介绍
- build android os ubuntu Setting up a Linux build environment
- 谷歌身份验证器加强Linux帐户安全
- Linux常用命令学习总结(二)
- Linux定时任务的设置
- 笔记:linux下配置jdk环境变量
- centos 搭建git服务器