filobers 4 Report post Posted May 9, 2018 To get a list of live host and save it on a file fping -ag <target> 2>/dev/null 1>live_host_file To get the same list with nmap (detect even ping disabled host) nmap -sn <target> | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" > live_host_file 1 Share this post Link to post