Skip to content

Instantly share code, notes, and snippets.

@qzm
Created April 14, 2021 04:00
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 qzm/99172f63cedff8dd6c623cef5a1a7956 to your computer and use it in GitHub Desktop.
Save qzm/99172f63cedff8dd6c623cef5a1a7956 to your computer and use it in GitHub Desktop.
get website server
curl -sSI $1 | grep -i 'server:' | sed -r "s/server:\ (\w|)/\1/i"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment