Get all IPs from host


Ubuntu 16.x
ifconfig | grep inet |awk '{print $2}'


Ubuntu 18.x
ifconfig | grep inet |awk '{print $3}'

How to list open ports and application using them in Windows

  netstat -abn or netstat -a -n -p tcp -o

Mais vistos