From 8310cc4c6f3b06c691be0e0b512de291527b022b Mon Sep 17 00:00:00 2001 From: turbine Date: Sat, 10 Jan 2026 12:41:49 +0100 Subject: [PATCH] v1.0 --- pingu/README.md | 17 +++++++++++++++++ wgtest => pingu/pingu | 5 +++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 pingu/README.md rename wgtest => pingu/pingu (77%) mode change 100644 => 100755 diff --git a/pingu/README.md b/pingu/README.md new file mode 100644 index 0000000..fe5dd49 --- /dev/null +++ b/pingu/README.md @@ -0,0 +1,17 @@ +# pingu + +## wtf is it? + +pingu is a small script that pings several IPv4 given as arguments to check whether they're reachable or not. + +## Usage + +```sh +./pingu ... +``` + +## The future + +Some ideas I have to improve this script: +- handle IPv6 +- colored output diff --git a/wgtest b/pingu/pingu old mode 100644 new mode 100755 similarity index 77% rename from wgtest rename to pingu/pingu index 64373a7..2854c2e --- a/wgtest +++ b/pingu/pingu @@ -1,10 +1,11 @@ #!/usr/bin/env sh -USAGE="usage : wgtest ..." +USAGE="NOOT NOOT +USAGE : ./pingu ..." if [ $# -eq 0 ]; then echo "$USAGE" - return + exit 1 fi for host in $@; do