Linux wc 命令,查看行数,字节数
2016-03-31 14:55
573 查看
wc 命令
查看行数,字节数
例如:
wc all.3.info
171 521 10762 all.3.info
man wc
NAME
wc - print the number of newlines, words, and bytes in files
SYNOPSIS
wc [OPTION]... [FILE]...
DESCRIPTION
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.
-c, --bytes
print the byte counts
-m, --chars
print the character counts
-l, --lines
print the newline counts
:
查看行数,字节数
例如:
wc all.3.info
171 521 10762 all.3.info
man wc
NAME
wc - print the number of newlines, words, and bytes in files
SYNOPSIS
wc [OPTION]... [FILE]...
DESCRIPTION
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.
-c, --bytes
print the byte counts
-m, --chars
print the character counts
-l, --lines
print the newline counts
:
相关文章推荐
- Linux安装eclipse并在桌面图标
- linux下搭建mysql主从
- 如何在Linux中用命令行工具管理KVM虚拟环境
- openssl-1.0.1s - libssl 移植到ARM Linux 板子是2416
- 如何更改linux文件的拥有者及用户组(chown和chgrp)
- centos 安装JDK1.7
- Linux的前世今生
- Linux的前世今生
- CENTOS7设置显示中文
- linux软件的环境变量设置
- linux ssh链接putty。
- linux更改系统时间
- 在Linux程序中如何获得本进程的可执行文件的全路径?
- 一个 Linux 上分析死锁的简单方法
- linux vim编辑器配置及使用经验
- Linux 驱动之模块参数--Linux设备驱动程序
- linux下定时执行任务的方法 crontab
- Linux多线程同步之读写锁
- Linux命令date日期时间和Unix时间戳互转
- Linux 命令整理