Dell Command Line Reference Guide for the S4048–ON System 9.14.2.4

PDF

dir

Display the files in a file system. The default is the current directory.

Syntax
dir [flash: | nfsmount: | usbflash:]
Parameters
flash:

For a directory on the internal Flash, enter flash:// directory name.

nfsmount:
For a file or directory on an NFS-mounted file system, enter nfsmount:// then the mount point and file path.
NOTE: While displaying a file directory on a remote NFS file system, it is mandatory to specify the mount-point that indicates the working directory on the NFS file system. You cannot display details corresponding to the root directory of the remote NFS file system.
usbflash:

For a directory on the external USB flash, enter usbflash:// directory name.

Command Modes
EXEC Privilege
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON.
9.7(0.0)
Added support for NFS mount.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
7.6.1.0
Introduced on the S-Series.
7.5.1.0
Introduced on the C-Series.
E-Series
Original command.
Example
DellEMC# dir
Directory of flash:

 1 drwx  8192 Jan 01 1980 00:00:00 +00:00 .
 2 drwx  3072 Dec 15 2014 06:27:10 +00:00 ..
 3 drwx  4096 Jan 01 1980 00:02:44 +00:00 TRACE_LOG_DIR
 4 drwx  4096 Jan 01 1980 00:02:44 +00:00 CORE_DUMP_DIR
 5 d---  4096 Jan 01 1980 00:02:44 +00:00 ADMIN_DIR
 6 drwx  4096 Jan 01 1980 00:02:44 +00:00 RUNTIME_PATCH_DIR
 7 drwx  4096 Nov 06 2014 06:57:06 +00:00 CONFIG_TEMPLATE
 8 -rwx  4625 Nov 06 2014 06:55:28 +00:00 startup-config
 9 drwx  4096 May 31 2013 02:49:46 +00:00 CONFD_LOG_DIR
flash: 2056916992 bytes total (2052784128 bytes free)
DellEMC#
Example (NFS Mount)
DellEMC# dir nfsmount:
Directory of nfsmount:

  1  drwx        512   Jun 15 2015 02:47:57 +00:00 .
  2  drwx        512   Jun 15 2015 02:47:57 +00:00 ..

nfsmount: 1463410688 bytes total (585719808 bytes free)
DellEMC#
Related Commands
  • cd — changes the working directory.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\