nezha/cmd/playground/example.sh
2021-01-24 21:17:37 +08:00

9 lines
145 B
Bash
Executable File

#!/bin/sh
set -x
ME=`whoami`
ping example.com -c20 && \
echo "==== $ME ====" && \
ping example.net -c20 && \
echo "==== done! ===="