Add script for generating notebook stats

This commit is contained in:
Nico Schottelius 2019-10-13 14:58:33 +02:00
parent 4ab41eafed
commit c765813518
1 changed files with 15 additions and 0 deletions

15
notebook-stats Executable file
View File

@ -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