User Guide
Appendix B - Shell Commands
Axis Communications AB does not provide support for application development of any kind. The
information here is provided "as is", and there is no guarantee that any of the examples shown
will work in your particular application.
Revision 0.91 June 2001 34
rm
<filename>
[filename ...]
Remove files
rmdir
<dirname>
[dirname ...]
Remove empty directories
setenv <name> <value>
Change or add an environment
variable
sethostname <hostname>
Set the environment variable
$HOSTNAME to <hostname>
setdomainname [domainname]
Set the environment variable
$DOMAINNAME to <domainname>
sleep [sec] Suspend the shell for <sec> seconds
source <filename>
Read and execute in current shell
environment
. <filename> Same as 'source' above
statusled <color>
Set the status-led color, where
<color> is one of 'off', 'green',
'yellow' and 'red'.
• green - the indicator flashes briefly and
momentarily displays orange during the
start-up and
self-test routines; the indicator then
displays green to indicate a healthy unit
status.
• red - the indicator will display red only
if a problem with the AXIS 2400/2401
has occurred.
Refer to Appendix A - Troubleshooting.
(Available on Axis 2400)
su <username> Change user-id to <username>.
syslog
<message>
[message ...]
Send messages to the system logger
sync N/A Flush file system buffers
selectspeed <device> <speed>
Select data-rate <speed> on device
<device>
touch <filename>
[filename ...]
Change file timestamps.
If <filename> does not exist, a file
<filename> is created.










