Open zhaowawj opened 7 years ago
1.1 cat /etc/passwd | sort 1.2 field cat /etc/passwd | sort -t ':' -k 3 1.3 number ordering cat /etc/passwd | sort -t ':' -k 3 -n
cat /etc/passwd | sort
cat /etc/passwd | sort -t ':' -k 3
cat /etc/passwd | sort -t ':' -k 3 -n
1.1 ignore case uniq -i 1.2 count uniq -c
uniq -i
uniq -c
1.1 line wc -l 1.2 line word character wc
wc -l
wc
1 sort
1.1
cat /etc/passwd | sort
1.2 fieldcat /etc/passwd | sort -t ':' -k 3
1.3 number orderingcat /etc/passwd | sort -t ':' -k 3 -n
2 uniq
1.1 ignore case
uniq -i
1.2 countuniq -c
3 wc
1.1 line
wc -l
1.2 line word characterwc