Actually, just to be picky, "s ru" also works.  Although you usually have to
type in enough letters to make a command unambiguous, "show" is an exception, as
it can be abbreviated to "s".

However, I suspect the original questioner actually wanted to know about
aliases, which somebody else has already discussed in this thread.  In fact,
just to tie the two halves of the thread back together, the reason you can use
"s" for "show", is because there is a default alias set up for it...

router#sh alias
Exec mode aliases:
  h                     help
  lo                    logout
  p                     ping
  r                     resume
  s                     show
  u                     undebug
  un                    undebug
  w                     where

JMcL
---------------------- Forwarded by Jenny Mcleod/NSO/CSDA on 20/11/2000 09:43 am
---------------------------


"JL" <[EMAIL PROTECTED]> on 19/11/2000 05:34:37 pm

Please respond to "JL" <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:    (bcc: JENNY MCLEOD/NSO/CSDA)


Subject:  RE: CLI help



The shortest possible abbreviation for "show run" would be "sh ru". If you
need to do this often you could also up the up arrow or ctrl-p. When typing
in commands you need only type enough letters so that IOS no longer finds
the command to be ambiguous... like copy run star for copy
running-configuration startup-configuration or sh ru for show run. If you
are unsure about how many letters you need to type so that the command is no
longer ambiguous, type out part of the command and then a question
mark...like co?  for copy.

HTH
Gragg Vaill
MCP CCNA
NOS Contractor
Sprint ION NOC


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Sam
Sent: Saturday, November 18, 2000 9:54 PM
To: [EMAIL PROTECTED]
Subject: CLI help


Hello friends

Is there any way that I can reduce repetitive typing of the same command buy
specifying a shorter word.

For example instead of typing
"sho run", can I just type "sr"
Is there any way of doing this in the CLI

Please let me know

Thanks
Sam




_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to