Wget Http //releases.ubuntu.com/20.04/ubuntu-20.04.3-live-server-amd64.iso

I've just noticed hostname. You can use a service discovery scan since it will execute several scripts(one of which is nbstat.nse) and will return hostnames. Don't expect to get the hostnames of all the machines that you scan.