Created
June 10, 2015 12:59
-
-
Save mkrogh/98d27eec371dc35b820a to your computer and use it in GitHub Desktop.
A collection of useful bash aliases.
This file contains hidden or 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
# git | |
alias gits='git status -uno' #don't show untracked files | |
# OpenSSL | |
function ssltest() { | |
local SN=${2:-1} | |
echo QUIT | openssl s_client -showcerts -connect $1:443 -servername $SN | grep -A 1 "s:/" | |
} | |
alias ssltest=ssltest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment