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 August 21, 2012 Testing usb flash drive speeds in linux November 21, 2013 How To Set Up SSH Keys April 26, 2018 Find public ip address using linux command line 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.