Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

file rename

Syntax

Description

Rename a file on the local router or switch.

Options

destination

New name for the file.

source

Original name of the file. For a routing matrix, the filename must include the chassis information.

Required Privilege Level

maintenance

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

file rename

The following example lists the files in /var/tmp, renames one of the files, and then displays the list of files again to reveal the newly named file.

file rename (Routing Matrix)

The following example lists the files in /var/tmp, renames one of the files, and then displays the list of files again to reveal the newly named file.

Release Information

Command introduced before Junos OS Release 7.4.