sort

This article was first written in August 2005 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/285).

Sorting a passwd database on UNIX based on user ids:

sort -t: -k 3 -n /etc/passwd
It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrEmail this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *