Specifications
47
Command Line Interface
Introduction
The SERIMUX runs the embedded Linux Hard Hat operating system. The command line interface for configuration purposes is
accessible only by the root user. The system administrator has read only privileges from the command line. By default the root
user is connected to the CLI (command line interface) when Telnetting to the SERIMUX. To gain access to the command
prompt, the root user uses the username root and the root password. The default root password is dbps.
This chapter includes the Linux commands available on the embedded Linux operating system and the location of files useful to
the root user for administrative purposes.
Note: The root user should be aware that deleting or corrupting files may prevent the SERIMUX from booting properly.
Before editing any files, be sure to back up the configuration files.
Linux Commands
The purpose of this section is to list the various Linux commands available on the SERIMUX. This is simply a listing of commands
and does not detail what the commands do or give their particular parameters. If more information is needed, see the man pages
on a Linux system.
Two commands that are very important for saving and applying changes to the configuration files are:
• saveconf: The saveconf command saves the configuration files to flash memory.
• applyconf: The applyconf command immediately applies the configuration changes.
The configuration files are located in /tmp/cnf directory.
Two system utility menus that are important for configuring the SERIMUX and the serial ports are the portaccessmenu and
configmenu.
• portaccessmenu: This menu allows the user to configure the serial ports on a SERIMUX.
• configmenu: This menu enables the system administrator to configure the SERIMUX. It has essentially the same
functionality as the web interface for configuring a unit with the exception of the ability to create custom
menus.
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
Command Line Interface