view docs/nitros9guide/dir.refentry @ 142:4cd37950c605

More splitups.
author roug
date Sun, 07 Jul 2002 09:54:04 +0000
parents 94476830df51
children 9639def8cf2e
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>