add fastping alias inspired by

- https://www.cyberciti.biz/tips/bash-aliases-mac-centos-linux-unix.html
This commit is contained in:
MorganGeek 2020-07-03 06:46:37 +02:00
parent afdc467baf
commit 3ab5d26b16

View File

@ -100,6 +100,7 @@ alias ip='echo $(curl ident.me -4 2>/dev/null)'
alias ipinfo='curl "ipinfo.io/"$(ip)' alias ipinfo='curl "ipinfo.io/"$(ip)'
alias getips='\egrep "\b(([0-9]{1,2}|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}(1[0-9][0-9]|2[0-4][0-9]|25[0-5]|[0-9]{1,2})\b"' alias getips='\egrep "\b(([0-9]{1,2}|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}(1[0-9][0-9]|2[0-4][0-9]|25[0-5]|[0-9]{1,2})\b"'
alias ping='prettyping -c 5 --nolegend' # Stop after sending count ECHO_REQUEST packets alias ping='prettyping -c 5 --nolegend' # Stop after sending count ECHO_REQUEST packets
alias fastping='ping -c 100 -i.2' # don't wait interval 1 second, go fast
# Downloads # Downloads
alias get="curl -O -L" # Download file and save it with filename of remote file alias get="curl -O -L" # Download file and save it with filename of remote file