[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

file list

Syntax

file list
<detail | recursive>
<filename>

Release Information

Command introduced before JUNOS Release 7.4.

Description

Display a list of files on the local router.

Options

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.

Additional Information

The default directory is the home directory of the user logged into the router. 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.

Required Privilege Level

maintenance

List of Sample Output

file list
file list (Routing Matrix)

Output Fields

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

Sample Output

file list

user@host> file list /var/tmp
dcd.core
rpd.core
snmpd.core

file list (Routing Matrix)

user@host> file list lcc0-re0:var/tmp
lcc0-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*

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]