Return to Snippet

Revision: 8992
at October 16, 2008 14:33 by endorfin


Initial Code
complete -W "$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d ' ' | sed -e s/,.*//g | uniq | grep -v "\["`;)" ssh

Initial URL

                                

Initial Description
tab completion is something we use all day long. put this into your .bash_profile. You can use tabs to auto complete the hostname for ssh calls.

Initial Title
SSH tab completion

Initial Tags

                                

Initial Language
Bash