exa -glhrSuU -s size --group-directories-first -@ | less -R
nothing fancy `ls` alternative `exa`, with most info printed and passed through less with the `-R` (raw) option, to preserve colour output https://github.com/ogham/exa You can add or remove `-@` to print extended attributes for files that have them.
Sample Output
 ~ ? exa -glhr -s size --group-directories-first -S -u -U -@                                                                                                                18:12
Permissions Size  Blocks User  Group Date Created Date Accessed Name
drwx------     -       - wires staff 27 Feb 16:25 27 Feb  0:07  Downloads
drwxr-xr-x     -       - wires staff 27 Feb 16:27 27 Feb 16:27  Desktop
drwxr-xr-x     -       - wires staff 22 Feb  4:37 22 Feb  4:37  workdir
drwx------@    -       - wires staff 18 Feb  0:49 25 Feb 18:23  Library
com.apple.FinderInfo	32
drwxr-xr-x     -       - wires staff 26 Feb 23:37 27 Feb 11:23  r
drwxr-xr-x     -       - wires staff 20 Feb 19:38 21 Feb 17:10  projects
drwx------     -       - wires staff 26 Feb 11:30 25 Feb 21:55  Documents
drwx------     -       - wires staff 20 Feb 19:34 21 Feb 17:10  Pictures

By: wires
2016-02-27 17:19:43

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Similar Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: