![Black Box LES1516A User Manual Download Page 328](http://html1.mh-extra.com/html/black-box/les1516a/les1516a_user-manual_2762893328.webp)
328
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
APPENDIX A: COMMANDS AND SOURCE CODE
A.1 COMMANDS
The console server platform is a dedicated Linux computer, optimized to provide monitoring and secure access to serial and
network consoles of critical server systems and their supporting power and networking infrastructure.
Black Box console servers are built on the uCLinux distribution as developed by the uCLinux project. This is GPL code and the
source can be found at http://uclinux.org/pub/uClinux/dist/.
Some uCLinux commands have config files that can be altered (for example, portmanager, inetd, init, and sshd).
Other commands you can run and do neat stuff with (for example loopback, bash (shell), ftp, hwclock, iproute, iptables, netcat,
ifconfig, mii-tool, netstat, route, ping, portmap, pppd, routed, setserial, smtpclient, stty, stunel, tcpdump, tftp, tip, and traceroute).
Black Box console servers also ship with Busybox, the “Swiss Army Knife of embedded Linux” which “combines tiny versions of
many common UNIX utilities into a single small executable.” See https://busybox.net/ for more information.
The table below lists most of the standard uCLinux commands (ucl), Busybox commands (bb), and some custom Black Box
commands (og), included in the default build tree. The shorthand immediately right of each listed command shows which source is
used to run a given command: ucl for uCLinux; bb for Busybox; and og for Black Box-specific commands.
The Administrator can use these to configure the console server, and monitor and manage attached serial console and host
devices.
TABLE A-1. COMMANDS
COMMAND
DESCRIPTION
addgroup
bb
Add a group or add a user to a group
adduser
bb
Add a user
agetty
ucl
Alternative Linux getty
arp
ucl
Manipulate the system ARP cache
arping
ucl
Send ARP requests/replies
bash
ucl
GNU Bourne-Again Shell
busybox
bb
Swiss army knife of embedded Linux commands
cat
bb
Concatenate file(s) and print them to stdout
chat
ucl
Useful for interacting with a modem connected to stdin/stdout
chgrp
bb
Change file access permissions
chmod
bb
Change file access permissions
chown
bb
Change file access permissions
config
og
Tool to manipulate and query system configuration from the shell
cp
bb
Copy files and directories
date
bb
Print or set the system date and time
dd
bb
Convert and copy a file.
deluser
bb
Delete a user from the system
df
bb
Report file system disk space usage
dhcpd
ucl
Dynamic Host Configuration Protocol server
discard
ucl
Network utility that listens on the discard port