Sort tricks

This nice UNIX command allows you to sort the rows of a text file according to predetermined criteria. Let’s do a few simple examples. Imagine you have a text file called Data.txt structured as below: If you want to sort the rows according to the age (the second column), you can do it with sort ...

Written by Cristiano