From 3ab5d26b16eb0c6d75a99c6111c576a5e669c75e Mon Sep 17 00:00:00 2001 From: MorganGeek Date: Fri, 3 Jul 2020 06:46:37 +0200 Subject: [PATCH] add fastping alias inspired by - https://www.cyberciti.biz/tips/bash-aliases-mac-centos-linux-unix.html --- dot_zsh_aliases | 1 + 1 file changed, 1 insertion(+) diff --git a/dot_zsh_aliases b/dot_zsh_aliases index cdbb9c8..177a1e2 100644 --- a/dot_zsh_aliases +++ b/dot_zsh_aliases @@ -100,6 +100,7 @@ alias ip='echo $(curl ident.me -4 2>/dev/null)' 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 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 alias get="curl -O -L" # Download file and save it with filename of remote file