sbase/ls.1

50 lines
1.0 KiB
Groff
Raw Normal View History

2011-05-25 23:01:20 -04:00
.TH LS 1 sbase\-VERSION
.SH NAME
ls \- list directory contents
.SH SYNOPSIS
.B ls
.RB [ \-adFHhiLlrtU ]
2011-05-25 23:01:20 -04: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
2014-02-19 07:27:49 -05:00
.B \-F
append a file type indicator to files.
.TP
.B \-H
list information about the targets of symbolic links specified on the command
line instead of the links themselves.
.TP
.B \-h
show filesizes in human\-readable format.
.TP
2013-09-27 10:32:50 -04:00
.B \-i
print the index number of each file.
.TP
.B \-L
list information about the targets of symbolic links instead of the links
themselves.
2011-05-25 23:01:20 -04:00
.B \-l
2011-05-26 01:39:12 -04:00
lists detailed information about each file, including their type, permissions,
links, owner, group, size, and modification time.
2011-05-25 23:01:20 -04:00
.TP
.B \-r
reverses the sort order.
.TP
2011-05-25 23:01:20 -04:00
.B \-t
sorts files by modification time instead of by name.
2013-07-18 15:14:53 -04:00
.TP
.B \-U
keeps the list unsorted.
2011-05-25 23:01:20 -04:00
.SH SEE ALSO
.IR stat (2)