1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 20:35:11 +01:00

Useful alias for keeping tabs on a DNS entry

This commit is contained in:
2015-03-25 16:26:17 +01:00
parent 5d82460b4d
commit 4b20938cf0

View File

@@ -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