[clue-cert] interesting sort option for ls

Dennis J Perkins dperkins at techangle.com
Wed May 4 20:43:59 MDT 2005


I found another interesting item while reading the LFS bootscripts.  If
you need to sort files ordered by version numbers instead of
alphabetically, use ls -v.  For example, if you have files S7, S10, S20,
S100 and S1, ls -v will sort them like this:

S1
S7
S10
S20
S100




More information about the clue-cert mailing list