6211-I1 ADSL2+ Router Command Line Interface User’s Guide
29
-e
Interprets backslash-escaped characters (for example, =tab).
-E
Disables the interpretation of backslash-escaped characters.
Examples
Display a string.
echo "Hello, world"
Display the value of the environment variable $TERM.
echo $TERM
Display all files or subdirectories.
echo /etc/*
echo *
echo /var/*
help
Name
help List all available CLI commands supported by the DSL router.
Synopsis
Help | ?
Description
The help command lists all available CLI commands supported by the DSL router.
Options
None.
ifconfig
Name
ifconfig Configure a network interface.
Synopsis
ifconfig [interface]
ifconfig interface [aftype] options | address ...
Description
The Ifconfig command is used to configure the kernel-resident network interfaces. It is used at boot time
to set up interfaces as necessary. After that, it is usually only needed when debugging or when system
tuning is needed.
If no arguments are given, ifconfig displays the status of the currently active interfaces. If a single
interface argument is given, it displays the status of the given interface only; if a single -a argument is
given, it displays the status of all interfaces, even those that are down. Otherwise, it configures an
interface.