Using the CLI Shell

Please note that this chapter describes only the most useful of the above commands.

13.2.1 Getting Help for a Command

Help related to the usage of a particular command may be obtained by entering “help command name <CR>” at the shell prompt.

>help type

Displays the contents of a text file.

Enter 'dir' for a directory listing of files.

TYPE filename

Figure 173: Displaying help for a command

13.2.2 Viewing Files

RuggedCom devices maintain a number of volatile and nonvolatile files. These files can aid in the resolution of problems and serve as a useful gauge of the device’s health.

Listing files

Enter “dir<CR>” to obtain a complete list of files and a description of each.

Note: Each file has associated attributes, as described under the Attr column in “dir” command. Files marked “R” are readable, i.e. may be uploaded by the user. Files marked “W” are writable, i.e. may be modified (downloaded) by the user. Files marked “B” are binary files, i.e. may be upgraded by the user.

The most useful files include config.csv, crashlog.txt and syslog.txt. These files may be viewed by using the “type” command, specifying the desired filename.

>dir

Directory of RuggedSwitch

--------------------------------------------------------------------------------

Free files:

21

of 32

Free

handles:

31

of 32

Free

blocks:

1024 of 1024

Block size:

4096

--------------------------------------------------------------------------------

FilenameSize Hdls Blks Attr Description

--------------------------------------------------------------------------------

dir.txt

0

1

1

R

Listing of files and attributes.

boot.bin

342930

0

0

RWB

Boot firmware

main.bin

1424310

0

0

RWB

Operating system firmware

fpga.xsvf

55921

0

0

RWB

FPGA programming file binary file

factory.txt

161

0

0

RW

Factory data parameters

config.csv

8555

0

0

RW

System settings

config.bak

8555

0

0

RW

System settings backup

crashlog.txt

0

0

0

RW

Log of debilitating system events

syslog.txt

3105

0

0

RW

Log of system events

sdram.bin

16777216

0

0

R B Image of entire SDRAM memory

flash.bin

4194304

0

0

R B Image of entire Flash memory

--------------------------------------------------------------------------------

Figure 174: Displaying Directory of a RuggedCom Device

ROS™ v3.5

246

RS400

Page 246
Image 246
RuggedCom RS400 manual Getting Help for a Command, Viewing Files, Listing files