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 11, 2013 NAS space getting low May 16, 2014 Samba hide dot files June 12, 2010 Resolve windows hostname inside a local network 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.