Specifications
dir
Chapter 20
File Management Commands
585
Syntax
dir [subdirname] | [file:] | [core:] | [boot0:] | [boot1:]
Defaults
None.
Access
Enabled.
Examples
The following command displays the files in the root directory:
PROMPT# dir
=====================================================================================
file:
Filename Size Created
file:configuration 13 KB Dec 28 2006, 09:55:54
file:qs_template.xml 13 KB Feb 08 2007, 16:33:33
Total: 26 Kbytes used, 84516 Kbytes free
================================================================================
Boot:
Filename Size Created
boot0:SR060200.002 8092 KB Jan 23 2007, 15:51:02
*boot1:SR060200.003 8103 KB Feb 05 2007, 19:35:47
Boot0: Total: 8092 Kbytes used, 9166 Kbytes free
Boot1: Total: 8103 Kbytes used, 9156 Kbytes free
================================================================================
temporary files:
Filename Size Created
core:command_audit.cur 159 KB Feb 08 2007, 16:33:33
core:command_audit.pre 500 KB Mar 03 1988, 23:52:03
Total: 659 Kbytes used, 83908 Kbytes free
The following command displays the files in the old subdirectory:
subdirname Subdirectory name. If you specify a subdirectory name, the
command lists the files in that subdirectory. Otherwise, the
command lists the files in the root directory and also lists the
subdirectories.
file: Limits dir output to the contents of the user files area
core: Limits dir output to the contents of the /tmp/core
subdirectory
boot0: Limits dir output to the contents of the boot0 partition
boot1: Limits dir output to the contents of the boot1 partition