Important file locations – Digi CM User Manual

Page 118

Advertising
background image

Important File Locations

118

Chapter 15

Important File Locations

The Digi CM has several files that are important for administrative use. Below
is a brief listing of some files that the root user or system administrator might
desire to either monitor or edit.

Default Script

The default script file is executed whenever the Digi CM is booted. The file is
/usr/rc.user and can be modified with the vi editor. The modified script
becomes effective when the system is rebooted.

Booting Sequence

When the Digi CM boots, it decompresses the /cnf/cnf.tar.gz file to /tmp/cnf/*
and unmounts the /cnf file. If the configuration files are modified in the /tmp/cnf
file and the configuration is saved to flash (saveconf), the unit mounts the /cnf
file and compresses the /tmp/cnf/* to /cnf/cnf.tar.gz.

Shell and Shell Utilities

sh

ash

bash

echo

sed

env

false

grep

more

which

pwd

File and Disk Utilities

ls

cp

mv

rm

mkdir

rmdir

ln

mknod

chmod

touch

sync

gunzip

gzip

zcat

tar

dd

df

du

find

cat

vi

tail

mkdosfs

mke2fs

e2fsck

fsck

mount

umount

scp

System Utilities

date

free

hostname

sleep

stty

uname

reset

insmod

rmmod

lsmod

modprobe

kill

killall

ps

half

shutdown

poweroff

reboot

telnet

init

useradd

userdel

usermod

whoami

who

id

su

Network Utilities

ifconfig

iptables

route

telnet

ftp

ssh

ping

Advertising