Hacker News new | ask | show | jobs
by allan_ 5304 days ago
complete -W "$(awk '/^#|^ $/{next}{print tolower($2)}' /etc/hosts) $(awk '/ ^#|^ $/{next}{gsub(/,/," ",$1); print $1}' $HOME/.ssh/known_hosts)" ssh telnet ping