Displaying directory and file information

Use the dir command to display a list of files on a file system. Use the type command to display the contents of a file. Use the version command to display the version of a cpm.tim or iom.tim file.

Use the following CLI syntax to display directory and file information:

file> 
    dir [file-url]
    type file-url
    version file-url

Example: Command syntax usage

*A:card-1>file cf1:\ # dir
  Volume in drive cf1 on slot A is /flash.

  Volume in drive cf1 on slot A is formatted as FAT32.

Directory of cf1:\

10/22/2008  10:30a                8849 bootlog.txt
10/22/2008  10:30a                 733 bof.cfg
10/22/2008  10:29a                5531 bootlog_prev.txt
02/01/2001  09:25a             3528373 boot.tim
02/01/2001  09:21a                4860 config.cfg
10/22/2008  11:07a      <DIR>          test1
10/17/2008  07:32p                 724 env.cfg
10/15/2008  03:38p                9499 snake.cfg