Skip to content

Instantly share code, notes, and snippets.

@endymion1818
Last active April 10, 2021 21:10
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 endymion1818/c9d90bf0c93a41e2a7a4b7da1758c579 to your computer and use it in GitHub Desktop.
Save endymion1818/c9d90bf0c93a41e2a7a4b7da1758c579 to your computer and use it in GitHub Desktop.
frequently used bash commands
curl -I <domain> # what headers are enabled on this site
sudo lsof -i :<port> # what process (pid) is running at a specified port, followed often by kill -9 <pid>
sudo killall -HUP mDNSResponder # reset local DNS cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment