Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    dir

    Syntax

    dir [ word ] [ short ]

    Release Information

    Command introduced before JunosE Release 7.1.0.

    Description

    Displays information about the files in nonvolatile storage, including name, size, date created, and whether they are in use. There is no no version.

    Note:

    • When high availability is enabled on the router, it is possible that files or file attributes may appear to be unsynchronized when they are not. When enabled, high availability mirrors configuration changes instantly from the active SRP module to the standby SRP module. However, although these changes are reflected immediately in memory, NVS on the standby SRP module is updated at 5-minute intervals.
    • When you issue the dir command from Boot mode, a reduced set of file types is displayed.
    • Bulk statistics .sts files are stored in volatile storage on a RAM disk, and are displayed only when bulkstats is configured.

    Options

    • word—Path to a specific directory, or a filename; an asterisk (*) in any position in a filename substitutes for zero or more characters; you cannot use a wildcard in a path
    • short—Limits display to file name and creation date

    Mode

    Privileged Exec, User Exec

    Published: 2014-08-14