806Appendix A CLI reference

Table 179 Global commands (Sheet 3 of 3)

Command

Action

 

 

verbose <n>

Sets the level of information displayed on the screen:

 

0

= Quiet: Nothing appears except errors—not even prompts.

 

1

= Normal: Prompts and requested output are shown without menus.

 

2

= Verbose: Everything is shown.

 

TIP: The default level is 2. When used without a value, the current setting displays.

 

 

slist

Display a list of all open Admin user sessions.

 

 

 

Command line history and editing

 

You can use the CLI to retrieve and modify commands entered previously.

 

Table 180 lists options that are available globally at the command line.

Table 180 Command line history and editing options (Sheet 1 of 2)

 

 

 

Option

 

Description

 

 

 

history

 

Display a numbered list of the 10 most recent commands.

 

 

 

!!

 

Repeat the most recent command.

 

 

 

!<n>

 

Repeat the nth command shown on the history list.

 

 

 

pushd

 

Use pushd to bookmark your current position in the menu structure. TIP: After you

 

 

move to another level or command in the menu structure, you can return to the

 

 

bookmarked position by typing the popd command. The pushd command can be

 

 

combined with command stacking. For example:

 

 

>> Information# pushd "/cfg/ssl/server 1/ssl"

 

 

>> SSL Settings#

 

 

Execute the popd command to return immediately to the prompt where you issued

 

 

the pushd command–the Information prompt in this example.

 

 

 

oopd

 

Return to a position in the menu structure that was bookmarked using the pushd

 

 

command.

 

 

 

Ctrl+p

 

Recall previous command from the history list. TIP: You can also use the up arrow

 

 

key. You can use this command to regress through the last 10 commands. The

 

 

recalled command can be executed as is, or edited using the options in this table.

 

 

 

Ctrl+n

 

Recall next command from the history list. TIP: You can also use the down arrow key.

 

 

Use this command to proceed through the next 10 commands. The recalled

 

 

command can be executed as is, or edited using the options in this table.

 

 

 

Ctrl+a

 

Move cursor to the beginning of the command line.

 

 

 

Ctrl+e

 

Move cursor to the end of the command line.

 

 

 

 

 

 

320818-A

 

 

Page 806
Image 806
Nortel Networks 4050 manual Command line history and editing