136
|
1 <refentry id="del">
|
|
2 <refnamediv>
|
|
3 <refname>DEL</refname>
|
|
4 <refpurpose>Delete a file</refpurpose>
|
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <cmdsynopsis>
|
|
9 <command>DEL</command>
|
|
10 <arg choice="opt">
|
|
11 <option>-x</option>
|
|
12 </arg>
|
|
13 <arg choice="plain">
|
|
14 &replstart;path&replend;
|
|
15 </arg>
|
|
16 <arg choice="plain">
|
|
17 &repeatst;&replstart;path&replend;&repeaten;
|
|
18 </arg>
|
|
19 <arg choice="opt">
|
|
20 <option>-x</option>
|
|
21 </arg>
|
|
22 </cmdsynopsis>
|
|
23 </refsynopsisdiv>
|
|
24
|
|
25 <refsect1><title>Description</title>
|
|
26 <para>
|
|
27 This command is used to delete the file(s) specified by the
|
|
28 pathllst(s). The user must have write permission for the file(s).
|
|
29 Directory files cannot be deleted unless their type is changed to
|
|
30 non-directory: see the "ATTR" command description.
|
|
31 </para>
|
|
32 <para>
|
|
33 If the -x option appears, the current
|
|
34 <emphasis>execution</emphasis> directory is assumed.
|
|
35 </para>
|
|
36 <para>
|
|
37 For more information see: 3.5, 3.8.1
|
|
38 </para>
|
|
39 </refsect1>
|
|
40 <refsect1><title>Examples</title>
|
|
41 <screen>
|
|
42 del test_program old_test_program
|
|
43
|
|
44 del /D1/number_five
|
|
45
|
|
46 OS9:dir /D1
|
|
47
|
|
48 Directory of /D1 14:29:46
|
|
49 myfile newfile
|
|
50
|
|
51 OS9:del /D1/newfile
|
|
52 OS9:dir /D1
|
|
53
|
|
54 Directory of /D1 14:30:37
|
|
55 myfile
|
|
56
|
|
57 OS9:del myprog -x
|
|
58 OS9:del -x CMDS.SUBDIR/file
|
|
59 </screen>
|
|
60 </refsect1>
|
|
61 </refentry>
|
|
62
|