5 lines
81 B
Bash
5 lines
81 B
Bash
#!/bin/bash
|
|
|
|
N=$1
|
|
|
|
sudo nmap -v -sn -n $1 -oG - | awk '/Status: Down/{print $2}'
|