Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

file show

 

Syntax

Release Information

Command introduced before Junos OS Release 7.4.

Command introduced in Junos OS Release 9.0 for EX Series switches.

Command introduced in Junos OS Release 11.1 for the QFX Series.

Command introduced in Junos OS Release 14.1X53-D20 for OCX Series switches.

Description

Display the contents of a file.

Options

filenameName of a file. For a routing matrix, the file name must include the chassis information.
encoding (base64 | raw)(Optional) Encode file contents with base64 encoding or show raw text.

Required Privilege Level

maintenance

List of Sample Output

file show

file show (Routing Matrix)

Output Fields

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

Sample Output

file show

user@host> file show /var/log/messages

file show (Routing Matrix)

user@host> file show lcc0-re0:/var/tmp/.gdbinit