I need to list all of the files my WD sorted alphabetically by the file owner name. Does ls have something for this?
migrated from stackoverflow.com Oct 13 '11 at 18:01
|
The canonical solution:
A lone 3 (as in '-k3') would tells As always, for more information, run |
|||||
|
|
I would use |
|||||
|
|
I don't think there's anything built in, but you can pipe together a bit of a hack:
This works because on my installation the fifth column ( |
|||||
|
|
This would show just the file/dir names (sorted by owner):
And this would show them sorted but on a single line:
|
|||
|
|
No need to specify
|
|||
|
|