Skip to content

Instantly share code, notes, and snippets.

@mkrogh
Created June 10, 2015 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkrogh/98d27eec371dc35b820a to your computer and use it in GitHub Desktop.
Save mkrogh/98d27eec371dc35b820a to your computer and use it in GitHub Desktop.
A collection of useful bash aliases.
# 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