ping and get ip only bash

By June 7, 2019Linux

ping and get ip only bash

getent ahostsv4 wildvm.local | awk '{print $1}' | head -1

Leave a Reply