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.
Display a list of files on the local router or switch.
none | — | Display a list of all files for the current directory. |
detail | recursive | — | (Optional) Display detailed output or descend recursively through the directory hierarchy, respectively. |
filename | — | (Optional) Display a list of files. For a routing matrix, the filename must include the chassis information. |
The default directory is the home directory of the user logged in to the router or switch. To view available directories, enter a space and then a backslash (/) after the file list command. To view files within a specific directory, include a backslash followed by the directory and, optionally, subdirectory name after the file list command.
maintenance
When you enter this command, you are provided feedback on the status of your request.
file list
user@host> file list /var/tmpdcd.core rpd.core snmpd.core
file list (Routing Matrix)
user@host> file list lcc0-re0:var/tmplcc0-re0: -------------------------------------------------------------------------- /var/tmp/: .gdbinit .pccardd Test/ chassisd* chassisd.nathan* check_time* cores/ diagTestPrep* diagtest* diagtest.regress* do_switchovers* dump_test* err.manoj.log esw_clearstats* esw_counter* esw_debug* esw_debug_ge* esw_filt_test* esw_filter_tnp_addr* esw_getstats* esw_phy* esw_stats*