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:
3 is the column's number.
There is 1 alternative - 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
the column number is '6'
If you can do better, submit your command here.
You must be signed in to comment.