mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Show an example of how to sort a file listing by size. Hopefully this
will reduce the number of people calling for this functionality to be added to ls(1).
This commit is contained in:
parent
9d839ea8e4
commit
703bf76847
1 changed files with 9 additions and 0 deletions
|
|
@ -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 ,
|
||||
|
|
|
|||
Loading…
Reference in a new issue