Add script for generating notebook stats
This commit is contained in:
parent
4ab41eafed
commit
c765813518
1 changed files with 15 additions and 0 deletions
15
notebook-stats
Executable file
15
notebook-stats
Executable 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
|
Loading…
Reference in a new issue