3Com 3031 Command Reference Manual page 63

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

Description
Using the pwd command, you can display the current path.
If the current path has not been set, the operation will fail.
Example
Display the current path.
<3Com> pwd
flash:/test
rename
Syntax
rename filename_source filename_dest
View
User view
Parameter
filename_source: Name of the source file.
filename_dest: Name of the destination file.
Description
Using the rename command, you can rename a file.
If the name of the destination file is the same with the name of an existing
directory, the execution will fail. If the name of the destination file is the same with
an existing file, the operation will fail.
Example
<3Com> dir
Directory of *
0
-rw-
1
-rw-
2
drw-
3
-rw-
6477 KBytes total (2144 KBytes free)
Rename the file sample.txt to sample.bak.
<3Com> rename sample.txt sample.bak
Rename flash:/sample.txt to flash:/sample.bak ?[Y/N]:y
% Renamed file flash:/sample.txt flash:/sample.bak
<3Com> dir
Directory of *
0
-rw-
1
-rw-
2
drw-
3
-rw-
6477 KBytes total (2144 KBytes free)
2145123
Jul 12 2001 12:28:08
595
Jul 12 2001 10:47:50
-
Jul 12 2001 19:41:20
50
Jul 12 2001 20:26:48
2145123
Jul 12 2001 12:28:08
595
Jul 12 2001 10:47:50
-
Jul 12 2001 19:41:20
50
Jul 12 2001 20:29:55
File Management Commands
ne.bin
vrpcfg.txt
test
sample.txt
ne.bin
vrpcfg.txt
test
sample.bak
63

Advertisement

Table of Contents
loading

Table of Contents