Filter command

1. grep   egrep    fgrep

2. sort

    sort -d

    sort -n

    sort -r

    sort -f

3. uniq

     uniq -d

     uniq -u

     uniq -c

4. comm

    comm -123 file1 file2 -----------------其中123分别代表在file1,file2,同时在file1和file2

5. tr------text replacer(tr 只能进行字符的替换、缩减和删除,不能用来替换字符串)

    tr -d

    tr -c

    tr -s

6. tail

 

posted @ 2014-10-04 10:09  Lhmily  阅读(167)  评论(0编辑  收藏  举报