≡ Menu

Multiple Host Command

Use the following and replace the domain name with your choice.

for i in {1..5}; do host="ns${i}.he.net"; echo -n "${host}: "; dig +short ${host}; done
0 comments… add one

Leave a Comment

Next post:

Previous post:

Copyright © Nish Vamadevan 2002-2018. All Rights Reserved. Terms and Policies.