The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Sorting "ls" output on more than 1 column
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Sorting "ls" output on more than 1 column
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
09-20-2005
Nicol
Registered User
Join Date: Sep 2003
Location: Paris
Posts: 128
Sorting "ls" output on more than 1 column
I would sort the "ls" output : on the 1st column then on the nineth :
ls -al |sort -k1,1 -k9,9r
this doesn't work ?
Anybody have an idea ?
regards
Christian
Nicol
View Public Profile
Find all posts by Nicol
Find Nicol's past nominations received
Find Nicol's present nominations given