Created
November 19, 2014 14:27
-
-
Save bak1an/2a909d0defc895e671bf to your computer and use it in GitHub Desktop.
search through ~/.ssh/config fastor! NO SMS, NO VIM REQUIRED
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -z "$1" ]; then echo "whooot?"; exit 1; fi | |
cat "${HOME}/.ssh/config" | sed -n "/${1}/,+4p" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment