Created
March 21, 2019 18:32
-
-
Save shubhamagarwal92/421376753aef2660d167abc8ab91f09e to your computer and use it in GitHub Desktop.
OS related bash commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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