FG

How to list files sorted by owner in Unix?

Fresh3 days ago
Mar 15, 202656598 views
Confidence Score0%
0%

Problem

I need to list the files in my current directory sorted alphabetically by the file owner name. Does have a way to do this?

Error Output

ls

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to list files sorted by owner in Unix?

Low Risk

The canonical solution: A lone 3 (as in '-k3') would tells to use column 3 to the end-of-line for sorting. This lets you do more advanced sorts like , which would sort your files first by user-name, then by size, largest first. As always, for more i…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment