Linux Displaying only hostnames with nmap in bash June 18, 2021 No Comments nmap -sP 192.168.1.0/24 -oG – | awk ‘/Up$/{print $3}’ | tr -d “()” | grep “\S” Previous Post Next Post You may also like November 12, 2013 Running a script after inserting USB flash drive March 28, 2011 out of vmalloc space May 16, 2014 Samba hide dot files Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Currently you have JavaScript disabled. In order to post comments, please make sure JavaScript and Cookies are enabled, and reload the page. Click here for instructions on how to enable JavaScript in your browser.