Monday, September 3, 2012

How do you sort a file on a particular column in UNIX?

sort -k2 <FileName>

will be sorted on column 2.

No comments :