added ding function to ping and alert when a host comes online

This commit is contained in:
Brad Ganley 2021-06-22 13:45:35 -05:00
parent d5b7ff4dff
commit 1c813a245c

View File

@ -15,6 +15,7 @@ alias please='sudo'
alias fucking='sudo' alias fucking='sudo'
alias cat='batcat' alias cat='batcat'
alias src='source .bashrc' alias src='source .bashrc'
alias ding='ping -i 5 -a'
# Utilities # Utilities
alias pang='ping -i 10 -v -a' alias pang='ping -i 10 -v -a'
@ -26,6 +27,8 @@ alias hgrep='history | grep'
alias mux='tmux new -s main' alias mux='tmux new -s main'
alias ta='tmux -2 a -t' alias ta='tmux -2 a -t'
alias tn='tmux -2 new -s' alias tn='tmux -2 new -s'
alias bin='nc termbin.com 9999'
nquick (){ sudo nmap -sV -T4 -O -F --version-light $@; }
# Misc # Misc
alias wttr='ansiweather -l belleville,illinois -u imperial -s false' alias wttr='ansiweather -l belleville,illinois -u imperial -s false'