commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
the column number is '6'
There are 11 alternatives - vote for the best!
Find the unique values of a column utilizing awk.
Credits goes to here (posted by "era"): http://www.unix.com/shell-programming-scripting/77138-awk-print-distinct-col-values.html
3 is the column's number.
If you can do better, submit your command here.
You must be signed in to comment.