|
You need spaces between the -k and the field_start,field_end portion
ls -al |sort -k 1,1 -k 9,9r
If you are thinking that it isn't working, check again. It may be the first column (the file permissions) that makes it look like the last column (file name) isn't sorted, but it is.
Last edited by RTM; 09-20-2005 at 08:42 AM..
|