Skip to content

Instantly share code, notes, and snippets.

@qzm
Created April 14, 2021 04:00
Show Gist options
  • 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