Hitachi GX1000-SMC013X Instruction Manual page 340

Table of Contents

Advertisement

rm
Description
This command deletes a specified file.
Input mode
SP administrator mode
Syntax
rm [<option>]
Parameters
<option>:
-f
-i
-r
When this parameter is omitted:
The command deletes only the specified file.
<filename>:
Specifies the name of a file or directory to be deleted.
Display example:
# ls
test1.txt test2.txt
# rm test1.txt
rm: remove '/usr/home/test1.txt'? y
# ls
test2.txt
Notes
Command line completion using wildcards, regular expressions, and tab input is not
supported to specify <filename>.
Multiple parameters cannot be specified at the same time when
specified.
Special characters below cannot be used to specify <filename>.
#
Model name
1
Double quotation mark
2
Ampersand
3
Single quotation mark
4
Left parenthesis
5
Right parenthesis
340
<filename>
: Deletes an existing file of the same name without warning.
: Prompts before deleting a file.
: Recursively deletes all files in the specified directory and the directories below it.
Special characters that cannot be used to specify <filename>
Symbol
"
&
'
(
)
Code
0x22
0x26
0x27
0x28
0x29
<filename>
is

Advertisement

Table of Contents
loading

Table of Contents