Chapter 22: Operational Commands for Configuration File Management
file rename
The following example lists the files in
, renames one of the files, and then
/var/tmp
(Routing Matrix)
displays the list of files again to reveal the newly named file.
user@host> file list lcc0-re1:/var/tmp
lcc0-re1:
--------------------------------------------------------------------------
/var/tmp:
.pccardd
sartre.conf
snmpd
syslogd.core-tarball.0.tgz
user@host> file rename lcc0-re0:/var/tmp/snmpd /var/tmp/snmpd.rr
user@host> file list lcc0-re1:/var/tmp
lcc0-re1:
--------------------------------------------------------------------------
/var/tmp:
.pccardd
sartre.conf
snmpd.rr
syslogd.core-tarball.0.tgz
Copyright © 2010, Juniper Networks, Inc.
451