- sort
- -r reverse
- -f ignore case
- -n numeric
- -b ignore leading blanks
- -c check if sorted (no printout = sorted)
- uniq
remove duplicate lines from a sorted file - -c sort and count number of occurances
- -i ignore case
Thursday, September 14, 2006
GNU Coreutils/other useful UNIXy stuff
There are a lot of useful things in the GNU coreutils that are useful but many people (me) had no idea that they even exist... here are a few:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment