Special ls Command Flags
It should be becoming clear to you that UNIX is the ultimate toolbox. Even some of the simplest commands have dozens of different options. On one system I use, ls has more than 20 different flags.
Task 4.5: Changing the Sort Order in ls
What if you wanted to look at files, but wanted them to show up in a directory sorting order different from the default (that is, column-first order)? How could you change the sort order in ls? |
The -x flag sorts across, listing the output in columns, or first-row order (entries are sorted ...
Get Sams Teach Yourself UNIX® in 24 Hours Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.