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 7705 SAR both.tim file.
Use the CLI syntax displayed below to display directory and file information:
file>
dir [file-url]
type file-url
version file-url
The following displays an example of the command syntax:
A:ALU-1# file
A:ALU-1>file cf3::\ # dir
Volume in drive cf3: on slot A has no label.
Volume in drive cf3: on slot A is formatted as FAT32.
Directory of cf3::\
02/08/2008 11:23a 140584 boot.ldr
02/07/2008 12:19p 786 bof.cfg
02/13/2008 05:42p 2058 bootlog.txt
01/13/2008 05:42p 2434 bootlog_pre.txt
01/30/2008 05:17p 797 bof.cfg.arash
01/25/2008 04:11p <DIR> TXT
01/30/2008 11:36a 787 bof.cfg.ftp
01/30/2008 01:11p 736 bof.cfg.root
01/30/2008 11:35a 886 bof.cfg.deep
01/30/2008 11:35a 483 bof.cfg.JC
8 File(s) 411097 bytes.
1 Dir(s) 1043456 bytes free.
A:ALU-1>file cf3::\ # type bof.cfg
# TiMOS-B-1.1.R1 both/hops NOKIA SAR 7705
# Copyright (c) 2016 Nokia.
# All rights reserved. All use subject to applicable license agreements.
# Built on Wed Apr 9 09:53:01 EDT 2016 by csabuild in /rel2.0/b1/R1/panos/main
# Generated WED APR 09 20:18:06 2016 UTC
primary-image ftp://*:*@xxx.xxx.xxx.xx/home/csahwreg17/images/both.tim
primary-config ftp://*:*@ xxx.xxx.xxx.xx /home/csahwreg17/images/dut-a.cfg
address xxx.xxx.xxx.xx /24 active
address xxx.xxx.xxx.xx /24 standby
primary-dns xxx.xxx.xxx.xx
dns-domain labs.ca.alcatel-lucent.com
static-route xxx.xxx.0.0/16 next-hop xxx.xxx.xxx.x
autonegotiate
duplex full
speed 100
wait 3
persist off
console-speed 115200
A:ALU-1>file cf3::\ #