Command Line Interface - NetModule NB3700 User Manual

Hide thumbs Also See for NB3700:
Table of Contents

Advertisement

6. Command Line Interface

The Command Line Interface (CLI) offers a generic control interface to the router and
can be used to get/set configuration parameters, apply updates, restart services or per-
form other system tasks.
It will be started automatically in interactive mode when logging in as admin user or by
running cli -i. However, the same syntax can be used when calling it from the system
shell. A list of available commands can be displayed by running cli -l.
The CLI supports TAB completion, that is expanding entered words or fragments by
hitting the TAB key at any time. This applies to commands but also to some arguments
and generally offers a convenient way for working on the shell.
Please note that each CLI session will perform an automatic logout as soon as a certain
time of inactivity (10 minutes by default) has been reached. It can be turned off by the
command no-autologout.
6.1. General Usage
When operating the CLI in interactive mode, each entered command will be executed
by the RETURN key. You can use the Left and Right keys to move the current point
between entered characters or use the Up and Down keys to search the history of entered
commands. Typing exit as well as pressing CTRL-c twice or CTRL-d on an empty
command line will exit the CLI.
List of supported key sequences:
Key Sequence
CTRL-a
CTRL-e
CTRL-f
CTRL-b
ALT-f
ALT-b
Action
Move to the start of the current line
Move to the end of the line
Move forward a character
Move back a character
Move forward to the end of the next word
Move back to the start of the current or previous word
160

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NB3700 and is the answer not in the manual?

Questions and answers

Table of Contents