[Ilugc] Re: NAT modules
- From: binand@xxxxxxxxx (Binand Sethumadhavan)
- Date: Wed Feb 28 12:11:39 2007
On 28/02/07, Shakthi Kannan <cyborg4k@xxxxxxxxx> wrote:
On my system if I do modprobe abc<tab><tab> i find it
autocompleted as modprobe abc_xyz.ko (if one such
exists).
... only when you are in the directory where the .ko
is present. Try it from a different directory and it
won't do tab completion.
Not exactly correct... Bash nowadays has programmable completion
support, and I think some distros include additional tab-completion
scripts (like this one:
http://www.caliban.org/bash/). For example, my
workstation has the LKM completion for modprobe & insmod taken from
/lib/modules/`uname -r`, and hostname completion for scp & ssh taken
from ~/.ssh/known_hosts (among others).
Binand
Other related posts: