view docs/nitros9guide/dir.refentry @ 939:8f1263d3e3d5

Small touch-ups to source
author boisy
date Tue, 21 Jan 2003 13:20:52 +0000
parents 9639def8cf2e
children c565a4700689
line wrap: on
line source

<refentry id="dir">
<refnamediv>
<refname>DIR</refname>
<refpurpose>Display the names of files contained in a directory</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>DIR</command>
<arg choice="opt">
  <option>-e</option>
</arg>
<arg choice="opt">
  <option>-x</option>
</arg>
<arg choice="opt">
  &replstart;path&replend;
</arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
Displays a formatted list of files names in a directory file on. the
standard output path. If no parameters are given, the current
<emphasis>data</emphasis>
directory is shown. If the &quot;x&quot; option is given, the current
<emphasis>execution</emphasis>
directory is shown. If a pathlist of a directory file is
given, it is shown.

</para>
<para>
If the &quot;e&quot; option is included, each file's entire description is
displayed: size, address, owner, permissions, date and time of last
modification.

</para>
<para>
For more information see: 1.0.3, 3.4, and 3.8.1
</para>
</refsect1>
<refsect1><title>Examples</title>
<screen>
dir                  (display data directory)

dir -x               (display execution directory)

dir -x -e            (display entire description of execution dir)

dir ..               (display parent of working data directory)

dir newstuff         (display newstuff directory)

dir -e test_programs (display entire description of &quot;test.programs)
</screen>
</refsect1>
</refentry>