File system
Move or rename a file or directory
IX10 User Guide
757
2. At the Admin CLI prompt, type
cp /
path
/
filename
|
dir_name
/
path
[
filename
]
|
dir_name
. For
example:
n
To copy the file
/etc/config/accns.json
to a file named
backup_cfg.json
in a directory
named
/etc/config/test
, enter the following:
> cp /etc/config/accns.json /etc/config/test/backup_cfg.json
>
n
To copy a directory named
/etc/config/test
to
/opt
:
> cp /etc/config/test/ /opt/
>
3. Type
exit
to exit the Admin CLI.
Depending on your device configuration, you may be presented with an
Access selection
menu
. Type
quit
to disconnect from the device.
Move or rename a file or directory
This procedure is not available through the WebUI. To move or rename a file or directory by using the
Admin CLI, use the
command.
Command line
To rename a file named
test.py
in
/etc/config/scripts
to
final.py
:
1. Select the device in Remote Manager and click
Actions
>
Open Console
, or log into the IX10
local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an
Access selection
menu
. Type
admin
to access the Admin CLI.
2. At the Admin CLI prompt, type:
> mv /etc/config/scripts/test.py /etc/config/scripts/final.py
>
3. Type
exit
to exit the Admin CLI.
Depending on your device configuration, you may be presented with an
Access selection
menu
. Type
quit
to disconnect from the device.
To move
test.py
from
/etc/config/scripts
to
/opt
:
1. Select the device in Remote Manager and click
Actions
>
Open Console
, or log into the IX10
local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an
Access selection
menu
. Type
admin
to access the Admin CLI.
2. At the Admin CLI prompt, type:
> mv /etc/config/scripts/test.py /opt/
>
Содержание IX10
Страница 1: ...IX10 User Guide User Guide Firmware version 22 5 ...
Страница 444: ...Services Simple Network Management Protocol SNMP IX10 User Guide 444 The SNMP page is displayed 4 Click Download ...
Страница 740: ...Monitoring This chapter contains the following topics intelliFlow 741 Configure NetFlow Probe 748 IX10 User Guide 740 ...
Страница 823: ...Command line interface Execute a command from the web interface IX10 User Guide 823 The Admin CLI prompt appears ...
Страница 849: ...Command line interface Command line reference IX10 User Guide 849 Parameters None ...
Страница 858: ...Command line interface Command line reference IX10 User Guide 858 reboot Reboot the system Parameters None ...