a ton of questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 30 Dec 2000, Kirk Wood wrote:

> cd /home/bob*
> 
> It will change to the first directory under home that starts with bob.

Much better and more predictable to use tab completion to do this.

cd /home/bob<TAB>

Will either complete the name for you or beep.  If you hit it a second
time, it will display all matching options (confirming if there's lots of
them), or beep again, meaning that there are no matches.  It will
automatically deal with things like escaping spaces and so forth.  I love
this feature.  This works in the shell, in programs that use libreadline (I
think), and some others like pine *if* you enable it.

Geoff.


-- 
Geoff Shang <gshang10 at scu.edu.au>
ICQ number 43634701





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux