Pwd; Rename - HP 6125XLG Command Reference Manual

Blade switch fundamentals command reference
Table of Contents

Advertisement

Views
User view
Predefined user roles
network-admin
Parameters
fileurl-source: Specifies the name of the source file, case insensitive.
fileurl-dest: Specifies the name of the destination file or folder, case sensitive.
Usage guidelines
If you specify a destination folder, the system moves the source file to the specified folder without
changing the file name.
Examples
# Move the flash:/test/sample.txt file to flash:/, and save it as 1.txt.
<Sysname> move test/sample.txt 1.txt
Move flash:/test/sample.txt to flash:/1.txt?[Y/N]:y
Moving file flash:/test/sample.txt to flash:/1.txt ...Done.
# Move the b.cfg file to the folder test2.
<Sysname> move b.cfg test2
Move flash:/b.cfg to flash:/test2/b.cfg?[Y/N]:y
Moving file flash:/b.cfg to flash:/test2/b.cfg... Done.

pwd

Use pwd to display the current working directory.
Syntax
pwd
Views
User view
Predefined user roles
network-admin
Examples
# Display the current working directory.
<Sysname> pwd
flash:

rename

Use rename to rename a file or folder.
Syntax
rename fileurl-source fileurl-dest
117

Advertisement

Table of Contents
loading

Table of Contents