From c765813518695227ea38e264078df3969ada57fc Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 13 Oct 2019 14:58:33 +0200 Subject: [PATCH] Add script for generating notebook stats --- notebook-stats | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 notebook-stats diff --git a/notebook-stats b/notebook-stats new file mode 100755 index 0000000..5f0c09d --- /dev/null +++ b/notebook-stats @@ -0,0 +1,15 @@ +#!/bin/sh + +exec 2>&1 + +printf 'My IP addresses\n\n' +ip -o a | awk '{ print $4 }' + +printf '\nLocal time\n' +date + +printf '\nPing6 output\n' +ping -6 -c3 ungleich.ch + +printf '\nPing4 output\n' +ping -4 -c3 ungleich.ch