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

Quick Contact Form