From 6dc24efc11dd4085276f4f0e7b52e869209d2413 Mon Sep 17 00:00:00 2001 From: MorganGeek Date: Mon, 13 Jul 2020 16:13:00 +0200 Subject: [PATCH] speed-test network alias --- dot_aliases/network.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dot_aliases/network.sh b/dot_aliases/network.sh index f764cd7..7fd3aa3 100755 --- a/dot_aliases/network.sh +++ b/dot_aliases/network.sh @@ -3,5 +3,6 @@ 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 +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 +alias speed-test="docker run --rm -it jariasl/speed-test" # via https://github.com/chrismetcalf/homedir/blob/fc7a9814a3513410b4bf4ec39e9e5bc6e62898e3/.zsh/rc/alias