| 1 |
<reference id="reference"> |
| 2 |
<title>Reference</title> |
| 3 |
<partintro> |
| 4 |
<para>This is a collection of reference entries</para> |
| 5 |
</partintro> |
| 6 |
|
| 7 |
<refentry id="ls"> |
| 8 |
<refmeta> |
| 9 |
<refentrytitle>ls</refentrytitle> |
| 10 |
<manvolnum>1</manvolnum> |
| 11 |
</refmeta> |
| 12 |
|
| 13 |
<refnamediv> |
| 14 |
<refname>ls</refname> |
| 15 |
<refpurpose>list contents of a directory</refpurpose> |
| 16 |
</refnamediv> |
| 17 |
|
| 18 |
<refsynopsisdiv id="ls-synops"> |
| 19 |
<cmdsynopsis> |
| 20 |
<command>/usr/bin/ls</command> |
| 21 |
<arg choice="opt"> |
| 22 |
<option>aAbcCdfFgilLmnopqrRstux1</option> |
| 23 |
</arg> |
| 24 |
<arg choice="opt" rep="repeat">file</arg> |
| 25 |
</cmdsynopsis> |
| 26 |
</refsynopsisdiv> |
| 27 |
|
| 28 |
<refsect1 id="ls-desc"><title>Description</title> |
| 29 |
<para> |
| 30 |
For each file that is a directory, <command>ls</command> lists the contents of |
| 31 |
the directory; for each file that is an ordinary file, <command>ls</command> |
| 32 |
repeats its name and any other information requested. |
| 33 |
</para> |
| 34 |
</refsect1> |
| 35 |
</refentry> |
| 36 |
</reference> |