1
0
mirror of git://git.suckless.org/sbase synced 2024-12-23 15:34:38 +00:00
sbase/ls.1

28 lines
617 B
Groff
Raw Normal View History

2011-05-26 03:01:20 +00:00
.TH LS 1 sbase\-VERSION
.SH NAME
ls \- list directory contents
.SH SYNOPSIS
.B ls
.RB [ \-adlt ]
.RI [ file ...]
.SH DESCRIPTION
.B ls
lists each given file, and the contents of each given directory. If no files
are given the current directory is listed.
.SH OPTIONS
.TP
.B \-a
shows hidden files (those beginning with '.').
.TP
.B \-d
lists directories themselves, not their contents.
.TP
.B \-l
2011-05-26 05:39:12 +00:00
lists detailed information about each file, including their type, permissions,
links, owner, group, size, and modification time.
2011-05-26 03:01:20 +00:00
.TP
.B \-t
sorts files by modification time instead of by name.
.SH SEE ALSO
.IR stat (2)