myshellconfig/bin/getfreeip

6 lines
81 B
Text
Raw Permalink Normal View History

2021-09-20 08:43:28 +02:00
#!/bin/bash
N=$1
sudo nmap -v -sn -n $1 -oG - | awk '/Status: Down/{print $2}'