summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/ls/ls.19
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index 8728d7a..164e32d 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -358,6 +358,14 @@ or
.Xr sticky 8 . )
.El
.El
+.Sh EXAMPLES
+The following is how to do an
+.Nm
+listing sorted by size (and shows why
+.Nm
+does not need this functionality.
+.Pp
+.Dl "% ls -l | sort [-r] -n +4"
.Sh DIAGNOSTICS
The
.Nm
@@ -525,6 +533,7 @@ specification.
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr chmod 1 ,
+.Xr sort 1 ,
.Xr xterm 1 ,
.Xr termcap 5 ,
.Xr symlink 7 ,
OpenPOWER on IntegriCloud