List Files and Directories on a Router
Problem
Description: If a system board crashes, you must check that certain files are in specific directories.
Solution
To display files in the /var/tmp and var/crash directories, use the following CLI operational mode command:
user@host> file list filename or directory
Sample Output
sampled.pkts vi.recover/ user@host> file list /var/crash/ bounds minfree vmcore.0
Meaning
The sample output shows the files in the /var/tmp/ and /var/crash/ directories. The Juniper Networks Technical Assistance Center (JTAC) can ask you to verify the existence of similar files.