Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'You can use the tab completion that's built into bash' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
You can use the tab completion that's built into bash
Authored by: TheSpoonman on Oct 14, '04 11:49:39AM

Since bash 2.04 you've been able to do this within bash "naturally". You can find out more information, as well as get a collection of commonly used completion routines at:

http://freshmeat.net/projects/bashcompletion/

As an example of what you want to do, you can program bash to complete an ssh command by tabbing through your ssh_known_hosts file.

---
---
Answering the age-old question: which is more painful, going to work
or gouging your eye out with a spoon?
www.workorspoon.com



[ Reply to This | # ]
You can use the tab completion that's built into bash
Authored by: TrentC on Oct 15, '04 04:39:31PM

Thank you! I've gotten so spoiled with autocompletion on my Linux servers and I couldn't figure out where the file was hidden in Panther. Turns out it's not there (silly Apple!)

I'm much happier now...



[ Reply to This | # ]