Get IP with nmap

Get only IP

nmap -sP -oG - 10.20.110.0/24 | awk '/Host/{print $2}'

Get IP and hostname

nmap -sP -oG - 10.20.200.0/22 | awk '/Host/{print $2 " " substr($3,2,length($3) - 2)}'

Add nginx repository Ubuntu

 Add nginx repository Ubuntu # 1. Download the NGINX signing key curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /u...

Mais vistos