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 32
6 Appendix B - Shell Commands
6.1 Commands
Command
Options
([]=optional,
<>=required)
Description
cat
<filename>
[filename ...]
Concatenate files and print on stdout
cd [dirname] Change the current directory to
[dirname].
Default value of <dirname> is the
environment variable '$HOME'
chgrp
<gid> <filename>
[filename ...]
Change group identity of <filename>
to <gid>
chmod
<mode>
<filename>
[filename ...]
Change mode of <filename> to
<mode>
chown
<uid> <filename>
[filename ...]
Change owner identity <filename> to
<uid>
clrbit <port> <bit> Clear IO pins.
setbit <port> <bit> Set IO pins.
readbits <port> Read IO pins.
cp <srcname>
[srcname ...]
<destname>
Copy files.
If multiple <srcname> are specified,
<destname> must be a directory.
dd
<infile> <outfile>
<buffersize>
Convert and copy
df N/A Report file system disk space usage
echo [-neE] [arg ...] Output the <args>
exec
<filename> [arg
...]
Replace shell with <filename>
exit N/A Exit the shell.
Applies to the current <username>
using the shell.
quit N/A Same as exit above (???)