| 1 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
| 2 | "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> |
| 3 | <refentry id="ls"> |
| 4 | |
| 5 | <refmeta> |
| 6 | <refentrytitle>ls</refentrytitle> |
| 7 | <manvolnum>1</manvolnum> |
| 8 | </refmeta> |
| 9 | |
| 10 | <refnamediv> |
| 11 | <refname>ls</refname> |
| 12 | <refpurpose>list contents of a directory</refpurpose> |
| 13 | </refnamediv> |
| 14 | |
| 15 | <refsynopsisdiv> |
| 16 | <cmdsynopsis> |
| 17 | <command>/usr/bin/ls</command> |
| 18 | <arg choice="opt"> |
| 19 | <option>aAbcCdfFgilLmnopqrRstux1</option> |
| 20 | </arg> |
| 21 | <arg choice="opt" rep="repeat">file</arg> |
| 22 | </cmdsynopsis> |
| 23 | </refsynopsisdiv> |
| 24 | |
| 25 | <refsect1><title>Description</title> |
| 26 | <para> |
| 27 | For each file that is a directory, <command>ls</command> lists the contents of |
| 28 | the directory; for each file that is an ordinary file, <command>ls</command> |
| 29 | repeats its name and any other information requested. |
| 30 | </para> |
| 31 | <para>…</para> |
| 32 | </refsect1> |
| 33 | </refentry> |