EchoBridge Shell Commands
The device's command shell may be accessed via USB CDC virtual serial port if the enable_console option is set, or via telnet if enable_telnet is set. The shell uses ANSI control and color codes for formatting. A terminal emulator like PuTTY can be used for either method.
All shell commands can be abbreviated to just the number of characters required to be unique, e.g., STA for STATUS. Use the up and down arrow keys to scroll through the command history.
Warning
While the style of the shell should be familiar to Linux and DOS users, keep in mind that the shell is not directly related to any other common shell and similar-looking commands may not function exactly the same. Users should take particular care when using wildcards and moving or deleting files.
Shell Command Reference
System Commands
STATUS [on|off]
: Enables or disables status bar in terminal. Shows TX/RX status and RX audio level.
IDENT
: Flashes LEDs to identify device. Useful if you're connected via telnet and have multiple devices.
UPDATE
: Starts the network update process. Downloads and installs new firmware, if available.
UPTIME
: Displays the system uptime.
VERSION
: Displays the firmware version.
EXIT
: Exits shell. Only useful for telnet connections.
INFO
: Show radio information.
Configuration Commands
SET <parameter>
: Sets a configuration parameter. Parameter names are the same as in the config.ini file.
SHOW <parameter>
: Displays a configuration parameter. Use show * to list all parameters.
SAVE
: Saves the current configuration to non-volatile memory.
Network Commands
NSLOOKUP <hostname>
: Performs a DNS lookup and returns an IP address.
TELNET <hostname> [port]
: Starts telnet client and connects to a remote system.
NETSTAT
: Displays information about active network connections and listeners.
FETCH <url> [filename]
: Retrieves a file from the network. Supports HTTP and HTTPS. If a filename is entered, the downloaded file is saved with that name, otherwise it keeps its original name.
File System Commands
CD <directory>
: Change working directory.
DIR [path]
: Lists directory contents.
COPY <src> <dest>
: Copy a file.
DEL <file>
: Deletes a file.
MKDIR <directory>
: Creates a directory.
RMDIR <directory>
: Removes a directory.
RENAME <old> <new>
: Renames a file.
MOVE <file> <destination>
: Moves a file to the specified directory.
TYPE <filename>
: Displays contents of a text file.
WRITE <file> <text>
: Writes a line of text to a file. Appends if file exists.
EDIT <filename>
: Launches full-screen text editor. ++ctrl+s++ saves, ++ctrl+q++ quits.
TAR
: Lists the contents of a TAR archive file.
REMOUNT
: Forces a remount of the file system. This may be needed if files have been modified by a USB host.
MKFS
: Format file system and erase all files.
Firmware and Execution Commands
LOADFW <filename>
: Loads a firmware update.
RUN <filename>
: Executes a batch file or BASIC program.
WAIT <milliseconds>
: Pauses the shell for the specified duration.
ECHO <string>
: Echoes text back to the command console.
REM
: Comment, does nothing. Use for batch files.
PS
: Displays information about running processes.
Reset Commands
RESET DEFAULT
: Resets to default settings.
RESET SYSTEM
: Resets the system after a 3-second pause.
RESET FLASH
: Performs a mass erase on the flash memory.
Debug Commands
DEBUG ON
: Starts output of debugging messages.
DEBUG OFF
: Disables debug output.
DEBUG SAVE
: Saves raw configuration data in binary to config.bin.
DEBUG LOAD
: Loads raw configuration data from config.bin.
Non-Volatile Memory Commands
NVMREAD <record>
: Displays the contents of the specified record in non-volatile memory.
NVMWRITE <record> <data>
: Sets a non-volatile memory record.
NVMDEFRAG
: Consolidates non-volatile storage.
NVMFORMAT
: Erases contents of NVM.
NVMDUMP
: Dumps contents of NVM.
NVMERASE <record>
: Erases an NVM record.
Command Aliases
Unix-style aliases are available for common commands:
| Alias | Command |
|---|---|
LS |
DIR |
RM |
DEL |
MD |
MKDIR |
MAN |
HELP |
CAT |
TYPE |
CP |
COPY |
MV |
MOVE |