Type "help" at the command prompt to see a list of all commands. For detailed help on a specific command, type "help" followed by the command name. For example, to get help for the ls command, type:
help ls
Here is a list of some basic and important commands:
ls – List directory contents.
wan – Show and configure WAN devices. Detailed information about a WAN can be obtained by providing the UID of the WAN device as the first argument.
lan – Show the current LAN configuration and status.
wireless – Show status of all access points on the router and connected wireless clients.
get – Get value for config item(s).
set – Set a value to a config item.
delete – Delete an item from the config.
inspect – Show the data type definitions for a config path. This is useful for learning the requirements of a particular config resource.
log – Show and search through the system log.
passwd – Change your password.
factory_reset – Reset the config to factory defaults. Use with caution.