Abbreviating and Completing Commands
3-12 Using the CLI
Example
Thisexampleshowshowtousethepartialkeywordfunctionforallcommandsbeginning
withco:
Abbreviating and Completing Commands
TheMatrixDFESeriesandN‐SACLIallowsyoutoabbreviatecommandsandkeywordsdownto
thenumberofcharactersthatwillallowforauniqueabbreviation.Whenthespacebarauto
completefunctionisenabled,italsoallowsyoutodetermineifacommandfragmentisunique.If
itis,
theCLIwillcompletethefragmentonthecurrentdisplayline.
Abbreviating a Command
Thisexampleshowshowtoabbreviatetheshownetstatcommandtoshnet.
Using the Spacebar Auto Complete Function
WhenthespacebarautocompletefunctionisenabledasdescribedinTable 3‐3,pressingthe
spacebarafteraCLIcommandfragmentwillallowyoutodetermineifthefrag mentisunique.Ifit
is,theCLIwillcompletethefragmentonthecurrentdisplayline.
Thisexampleshowshow, whenthe
functionisenabled,enteringconfandpressingthespacebar
wouldbecompletedas“configure”:
Matrix(rw)->co?
configure Execute a configuration file
copy Upload or download an image or configuration file
Matrix(rw)->co
Note: At the end of the lookup display, the system will repeat the command you entered without
the ?.
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 *.*
Matrix(rw)->conf<SPACEBAR>
Matrix(rw)->configure
Comments to this Manuals