2009/11/20 Kenneth Gonsalves <[email protected]>

> hi,
>
> in the console, up arrow will give the previous command executed. Sometimes
> I
> need to execute a command given about 20-30 times back. It is tedious to
> keep
> pressing up arrow - I recall some way of typing the first few letters of
> the
> command and pressing some key to get the command. Any clues?
>
It seems to me that you are talking about Command line completion. This is a
common feature of command line interpreters(a program running in the
background of command line consoles). And usually(so often so that the
feature is also called tab completion), the tab key is the key used to
trigger this program. All you do is type a few characters of the command and
press tab. If the few characters that you typed are a prefix of two or more
commands, then all such commands are listed, and then you would have to type
a few extra characters more to zero in on the character you want and again
press tab to automatically fill it up. Otherwise, just one press of tab will
fill it up for you.

This feature is useful, not just for filling up known commands, but also for
finding out if some command exists or not. Simply pressing tab will list out
all the available commands. More information is available in the following
wikipedia page.

http://en.wikipedia.org/wiki/Command_line_completion

Hope this helps.

Vinod.

> --
> regards
> kg
> http://lawgon.livejournal.com
> _______________________________________________
> To unsubscribe, email [email protected] with
> "unsubscribe <password> <address>"
> in the subject or body of the message.
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to