option
-c : 문자수만 보여줌
-m : 캐릭터수만 보여줌
-l : 라인수만 보여줌
-w : 단어수만 보여줌
-L : 가장 긴줄 한줄의 글자수 보여줌
[root@localhost ~]# cat testfile
test01
test02
test03
testtesttest
[root@localhost ~]# wc -c testfile
34 testfile
[root@localhost ~]# wc -l testfile
4 testfile
[root@localhost ~]# wc -w testfile
4 testfile
[root@localhost ~]# wc -L testfile
12 testfile
[root@localhost ~]# wc -m testfile
34 testfile
'linux' 카테고리의 다른 글
| pcre-8.36.tar.gz (0) | 2016.04.01 |
|---|