sbase/ls.1

34 lines
703 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
2013-09-27 14:32:50 +00:00
.RB [ \-adiltU ]
2011-05-26 03:01:20 +00:00
.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
2013-09-27 14:32:50 +00:00
.B \-i
print the index number of each file.
.TP
2011-05-26 03:01:20 +00:00
.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.
2013-07-18 19:14:53 +00:00
.TP
.B \-U
keeps the list unsorted.
2011-05-26 03:01:20 +00:00
.SH SEE ALSO
.IR stat (2)