From 4b20938cf0da5084afc0a9b35f62a0c0db03b621 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Wed, 25 Mar 2015 16:26:17 +0100 Subject: [PATCH] Useful alias for keeping tabs on a DNS entry --- .bash_aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index b91ab11..ac40dd3 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -100,6 +100,9 @@ alias dcpcelery='python manage.py celery worker -Q celery -l info' # update/install Calibre ebook manager alias updatecalibre='sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('"'"'Download failed\n'"'"'); exec(sys.stdin.read()); main()"' +# Watch a DNS entry, see when it changes to a new value for example +alias checkdns='watch -n1 dig ' + # if you're really annoyed with a runaway process function fuck() { if killall -9 "$2"; then