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 April 26, 2018 Find public ip address using linux command line November 12, 2013 Running a script after inserting USB flash drive November 11, 2013 NAS space getting low 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.