Complete Software Guide for Junos
file rename
Syntax
Release Information
Description
Options
Required Privilege
Level
List of Sample Output
Output Fields
file rename
file rename
462
®
OS for EX Series Ethernet Switches, Release 10.3
file rename source destination
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Rename a file on the local router or switch.
—New name for the file.
destination
source
—Original name of the file. For a routing matrix, the filename must include the
chassis information.
maintenance
file rename on page 462
file rename (Routing Matrix) on page 463
When you enter this command, you are provided feedback on the status of your request.
The following example lists the files in
displays the list of files again to reveal the newly named file.
user@host> file list /var/tmp
dcd.core
rpd.core
snmpd.core
user@host> file rename /var/tmp/dcd.core /var/tmp/dcd.core.990413
user@host> file list /var/tmp
dcd.core.990413
rpd.core
snmpd.core
/var/tmp
, renames one of the files, and then
Copyright © 2010, Juniper Networks, Inc.