added speedtest for automated environments
This commit is contained in:
parent
818562a24f
commit
4b66efff9a
0
bash/pv_of_pid.sh
Normal file → Executable file
0
bash/pv_of_pid.sh
Normal file → Executable file
6
bash/speedtest-automated.sh
Executable file
6
bash/speedtest-automated.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# run ookla's speedtest for automated environments. usually it would ask you to accept terms and licenses for the fist time, saving a note (with timestamp) about this in the executing users "~/.config/ookla/speedtest-cli.json" file this oneliner auto-accepts the terms and services. furthermore it get's rid of the notification about the acceptance, which is outputed to STDERR. formatted as json.
|
||||
speedtest --accept-license --accept-gdpr -f json-pretty 2>/dev/null
|
||||
# alternative:
|
||||
# speedtest --accept-license --accept-gdpr -f json 2>/dev/null | jq
|
Loading…
Reference in New Issue
Block a user