Search Results

Search: Posts Made By: jon2ryhme
2,205
Posted By jon2ryhme
Sorting a text file
In unix how to sort in reverse order based on second field in a text file.

$ cat data1
David:501
Albie:503
Shaun:502

The expected output:
Albie:503
Shaun:502
David:501

Please help :)
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 05:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy