Cli guide, Introduction, Flash partition – SENA PS810 User Manual

Page 89: Supported linux utilities, Shell & shell utilities, File and disk utils, System utilities, Network utilities

Advertising
background image

89

7. CLI Guide

7.1. Introduction

The root user can access the Linux console command line interface (CLI) of the Pro Series via the

serial console or TELENT/SSH. In the CLI, the user can perform standard Linux commands to view

the status of the Pro Series, edit the configuration, apply configuration changes.

7.2. Flash Partition

The Pro Series internal flash is partitioned as shown in the table below. The user can access files at

/var

directory at his own risk. Simply accessing these files will not affect the Pro Series after

rebooting. However, if the user invokes the command saveconf, the changes in the configuration file

will be committed to the internal flash memory area of the Pro Series. This will result in the changes

being kept after the reboot sequence. Invalid configuration changes can affect the Pro Series behavior.

At worst, it may cause the Pro Series to become inoperable.

Block

Type

Mount point

Size (KB)

Mtdblock0

Bios

None

128

Mtdblock1

Kernel & ROM file system

/

1024

Mtdblock2

CRAMFS (Read only)

/mtd

2880

Mtdblock3

EXT2 (R/W)

/cnf (normally
unmounted)

64

Total

4096

7.3. Supported Linux Utilities

7.3.1. Shell & Shell Utilities:

cat, echo, more, pwd

7.3.2. File And Disk Utils:

ls, cp, mv, rm, mkdir, rmdir, touch, gunzip, gzip, tar, df, du, vi, e2fsck,

mount, umount

7.3.3. System Utilities:

date, free, hostname, kill, killall, ps, reboot

7.3.4. Network Utilities:

ifconfig, iptables, route, ping

Advertising