ls: add option to reverse the sort order

Now you can list directory contents ordered by mtime with the
latest file displayed last in the output.
This commit is contained in:
Markus Teich
2013-10-04 11:12:11 +01:00
committed by sin
parent 96c8c5f389
commit 3a3cd24092
2 changed files with 9 additions and 2 deletions

3
ls.1
View File

@@ -24,6 +24,9 @@ print the index number of each file.
lists detailed information about each file, including their type, permissions,
links, owner, group, size, and modification time.
.TP
.B \-r
reverses the sort order.
.TP
.B \-t
sorts files by modification time instead of by name.
.TP