This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Function that will expect a list of arguments from the cli and will resolve them using the host command. | |
# It will return the dns records or Ips on stdout | |
# Example bash hosts_cmd.sh 10.176.148.12 10.176.148.193 10.176.152.63 10.176.152.64 10.176.152.65 10.176.152.66 10.176.152.67 10.176.152.68 10.176.152.69 10.176.152.70 10.176.152.71 10.176.152.72 | |
#USAGE | |
# bash hosts_cmd.sh 10.195.129.22 10.195.129.23 10.185.129.62 10.185.129.63 | |
light_green_bold="\033[1;92;49m" |
NewerOlder