“Bash is one of those Unix things that I am fully aware has a
lot more potential and power than I know how to use. Every so often
I go looking for another handful of useful things to learn about
it: this is a selection of recent ones.“Firstly: the Debian bash package includes a file
/etc/bash_completion which extends bash–for example, enabling
zsh-style tab completion of hostnames. Source this file in your own
.bashrc to get this functionality. It also makes it easy to
extend/program bash yourself, via the directory
/etc/bash_completion.d/, which is automatically sourced by
/etc/bash_completion…”