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

原文地址:https://www.cnblogs.com/lhmily/p/4005690.html