Skip to navigation
Check a script for text output with bash
04.07.23
```console check=$(speedtest --page https://www.myridia.com -c speedtest | grep '"ok":true') if [ -z "$check" ]; then echo "failed" else echo "ok" curl -X POST https://foo.com/task -d task=speedtest_slbj -k fi ```
Reply
Anonymous
Information Epoch 1768838111
A language that doesn't affect the way you think is not worth knowing.
Home
Notebook
Contact us