EasyManua.ls Logo

Enterasys Matrix DFE-Gold Series - Configuring the Line Editor; Abbreviating a Command; Completing a Partial Command; Basic Line Editing Emacs & VI Commands

Enterasys Matrix DFE-Gold Series
944 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Startup and General Configuration Summary
Enterasys Matrix DFE-Gold Series Configuration Guide 2-11
Abbreviating and Completing Commands
Theî ±Matrixî ±Seriesî ±deviceî ±allowsî ±youî ±toî ±abbreviateî ±CLIî ±commandsî ±andî ±keywordsî ±downî ±toî ±theî ±
numberofcharactersthatwillallowforauniqueabbreviation.Figure 2‐5showshowto
abbreviateî ±theî ±showî ±netstatî ±commandî ±toî ±shî ±net.
Figure 2-5 Abbreviating a Command
Matrix(rw)->sh net
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
----- ------ ------ --------------------- --------------------- -------
TCP 0 0 10.21.73.13.23 134.141.190.94.51246 ESTABLISHED
TCP 0 275 10.21.73.13.23 134.141.192.119.4724 ESTABLISHED
TCP 0 0 *.80 *.* LISTEN
TCP 0 0 *.23 *.* LISTEN
UDP 0 0 10.21.73.13.1030 134.141.89.113.514
UDP 0 0 *.161 *.*
UDP 0 0 *.1025 *.*
UDP 0 0 *.123 *.*
Using the Spacebar Auto Complete Function
Whenî ±theî ±spacebarî ±autoî ±completeî ±functionî ±isî ±enabled,î ±pressingî ±theî ±spacebarî ±afterî ±aî ±CLIî ±commandî ±
fragmentî ±willî ±allowî ±youî ±toî ±determineî ±ifî ±theî ±fragmentî ±isî ±unique.î ±Ifî ±itî ±is,î ±theî ±CLIî ±willî ±completeî ±theî ±
fragmentî ±onî ±theî ±currentî ±displayî ±line.
Byî ±default,î ±thisî ±functionî ±isî ±disabled.î ±Forî ±moreî ±informationî ±onî ±enablingî ±
itî ±usingî ±theî ±setî ±cliî ±
completioncommand,referto“setclicompletion”onpage 2‐45.Figure 2‐6showshow,whenthe
functionî ±isî ±enabled,î ±enteringî ±confî ±andî ±pressingî ±theî ±spacebarî ±wouldî ±beî ±completedî ±asî ±configure:
Figure 2-6 Completing a Partial Command
Matrix(rw)->conf<SPACEBAR>
Matrix(rw)->configure
Configuring the Line Editor
Theî ±commandî ±lineî ±editorî ±determinesî ±whichî ±keyî ±sequencesî ±canî ±beî ±usedî ±inî ±theî ±CLI.î ±Example:î ±
Ctrl+Aî ±willî ±moveî ±theî ±cursorî ±toî ±beginningî ±ofî ±theî ±commandî ±lineî ±whenî ±inî ±Emacsî ±mode.î ±Theî ±CLIî ±
supportsbothviandEmacs‐likeli needitingcommands.Bydefault,the“default”line‐editing
modeî ±isî ±configured,î ±with
nospecialkeysequences.See Table 2‐7listssomecommonlyusedEmacs
andvicommands.Usethesetline‐editorcommand(“setline‐editor”onpage 2‐14)tochangethe
line‐editormode.
Figure 2-7 Basic Line Editing Emacs & vi Commands
Key Sequence Emacs Command
Ctrl+A Move cursor to beginning of line.
Ctrl+B Move cursor back one character.
Ctrl+C Abort command.
Ctrl+D Delete a character.

Table of Contents

Related product manuals