Skip to content

Instantly share code, notes, and snippets.

@ailtonbsj
Created October 24, 2017 02:59
Show Gist options
  • Save ailtonbsj/3b7fdf707a3087c90ef21d19b2caa548 to your computer and use it in GitHub Desktop.
Save ailtonbsj/3b7fdf707a3087c90ef21d19b2caa548 to your computer and use it in GitHub Desktop.
Get all IPs alives on your local network
#Needs apt install nmap
nmap -sP 192.168.1.* | grep for | awk {'print $5 " " $6'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment