FG
💻 Software

Changing the order of columns displayed with `ls`

Fresh5 days ago
Mar 15, 20262125 views
Confidence Score0%
0%

Problem

Is it possible to change the order of displayed columns when running on *nix (or on Windows)? For example, I'd like to see the date modified, then the name, then other fields (or select only the ones I want, and their order. How would this be done without merely using and trimming undesired fields …

Error Output

ls -l

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Changing the order of columns displayed with `ls`

Low Risk

I'd avoid parsing at all: use and : is a start.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment