CAN – Ethernet Gateway
40 © SYS TEC electronic GmbH 2007 L-1032e_9
4.5 Command Set Description
For general functions like changing directories or displaying data,
Unix commands are used. The following section describes the
available commands. Options (e.g.
ls -l) are not available however.
4.5.1 cd
Format:
cd <dir>
cd .. changes into the specified directory or into the next
higher level
Description: The command
cd is used to switch into the specified
directory
<dir> or into the next higher directory level.
4.5.2 ls
Format:
ls [<dir>]
Description: The command
ls shows the files of the indicated or
current folder. The interface ID, which is required for
displaying the filter rules, is given along with the
command.
See example, the interface can0 has the interface ID 1
(
id:1), the interface udp0 was assigned the interface
ID 4 (
id:4).
Example:
/ >ls /if↵ displays the folder /if
.. typ:0xc2
led0 use:0 typ:0xa0 ch:4 id:0
can0 use:0 typ:0xa0 ch:4 id:1
udpserv0 use:0 typ:0xa0 ch:4 id:2
tcpserv0 use:0 typ:0xa0 ch:4 id:3
udp0 use:0 typ:0xa0 ch:4 id:4