Last active
January 18, 2021 10:26
-
-
Save kerbrose/50bec5f26c35da9a3f0ecbf5a5039dc3 to your computer and use it in GitHub Desktop.
check opened ports
This file contains 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
netstat -ntlp | |
netstat -nulp | |
# for iprout2 packages | |
sudo ss -tulpn | |
( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS | |
nmcli dev show | grep 'IP4.DNS' | |
iptables -t nat -F | |
ifconfig docker0 down | |
brctl delbr docker0 | |
ip -stats | |
ip addr | |
ip link del docker0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment