136
|
1 <refentry id="dir">
|
|
2 <refnamediv>
|
|
3 <refname>DIR</refname>
|
|
4 <refpurpose>Display the names of files contained in a directory</refpurpose>
|
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <cmdsynopsis>
|
|
9 <command>DIR</command>
|
|
10 <arg choice="opt">
|
914
|
11 <option>-e</option>
|
136
|
12 </arg>
|
|
13 <arg choice="opt">
|
914
|
14 <option>-x</option>
|
136
|
15 </arg>
|
|
16 <arg choice="opt">
|
|
17 &replstart;path&replend;
|
|
18 </arg>
|
|
19 </cmdsynopsis>
|
|
20 </refsynopsisdiv>
|
|
21
|
|
22 <refsect1><title>Description</title>
|
|
23 <para>
|
|
24 Displays a formatted list of files names in a directory file on. the
|
|
25 standard output path. If no parameters are given, the current
|
|
26 <emphasis>data</emphasis>
|
|
27 directory is shown. If the "x" option is given, the current
|
|
28 <emphasis>execution</emphasis>
|
|
29 directory is shown. If a pathlist of a directory file is
|
|
30 given, it is shown.
|
|
31
|
|
32 </para>
|
|
33 <para>
|
|
34 If the "e" option is included, each file's entire description is
|
|
35 displayed: size, address, owner, permissions, date and time of last
|
|
36 modification.
|
|
37
|
|
38 </para>
|
|
39 <para>
|
|
40 For more information see: 1.0.3, 3.4, and 3.8.1
|
|
41 </para>
|
|
42 </refsect1>
|
|
43 <refsect1><title>Examples</title>
|
|
44 <screen>
|
|
45 dir (display data directory)
|
|
46
|
914
|
47 dir -x (display execution directory)
|
136
|
48
|
914
|
49 dir -x -e (display entire description of execution dir)
|
136
|
50
|
|
51 dir .. (display parent of working data directory)
|
|
52
|
|
53 dir newstuff (display newstuff directory)
|
|
54
|
914
|
55 dir -e test_programs (display entire description of "test.programs)
|
136
|
56 </screen>
|
|
57 </refsect1>
|
|
58 </refentry>
|
|
59
|