Skip to content

Instantly share code, notes, and snippets.

@shubhamagarwal92
Created March 21, 2019 18:32
Show Gist options
  • Save shubhamagarwal92/421376753aef2660d167abc8ab91f09e to your computer and use it in GitHub Desktop.
Save shubhamagarwal92/421376753aef2660d167abc8ab91f09e to your computer and use it in GitHub Desktop.
OS related bash commands
# Check the version of OS
lsb_release -a
# https://www.cyberciti.biz/faq/how-do-i-find-out-what-ports-are-listeningopen-on-my-linuxfreebsd-server/
# Check the open ports
netstat -vtan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment