How can I list directories with ls and sort them by their owner and group?
|
feedback
|
|
Try this:
It will print the user name, the group name and the file name, provided that the file name doesn't contain spaces. Alternatively, you can type:
This will print the user name, group name and the full Note that depending on your distribution, the actual column numbers may differ. I tried mine in SUSE and coreutils version 5.2.1. There are probably better, more elaborate solutions, but this is the simplest one, and will work most of the time. | |||||
|
feedback
|