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