Comment by otherflavors
8 years ago
they aren't man(ual)s nor are they written in man(7) or mdoc(7), so not really man pages, wish they had gone with roff rather than markdown. tldr ls would be something like this:
.Dd $MDocDate$
.Dt LS tldr common
.Sh NAME
.Nm ls
.Nd List directory contents.
.Sh EXAMPLES
.Bl -hyphen -offset ds
.It
List files one per line
.Pp
.Nm ls Fl l
.Pp
.It
List all files, including hidden files
.Pp
.Nm ls Fl a
.Pp
.It
Long format list (permissions, ownership, size and modification date) of all files
.Pp
.Nm ls Fl la
.Pp
.It
Long format list with size displayed using human readable units (KB, MB, GB)
.Pp
.Nm ls Fl lh
.Pp
.It
Long format list sorted by size (descending)
.Pp
.Nm ls Fl lS
.Pp
.It
Long format list of all files, sorted by modification date (oldest first)
.Pp
.Nm ls Fl ltr
.El
No comments yet
Contribute on Hacker News ↗