Skip to content

Instantly share code, notes, and snippets.

@Mearman
Created September 21, 2021 10:01
Show Gist options
  • Select an option

  • Save Mearman/76dfc003394d18dae5c9141629155d20 to your computer and use it in GitHub Desktop.

Select an option

Save Mearman/76dfc003394d18dae5c9141629155d20 to your computer and use it in GitHub Desktop.
A place for me to put useful Bash scripts or Shell snippets
#!/bin/bash
# A command to continuously watch the output of the DIG command whilst waiting for DNS propogation
alias digwatch='function __digwatch() { watch dig +nocmd "$*" any +multiline +noall +answer ; unset -f __digwatch; }; __digwatch'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment