nezha/cmd/playground/example.sh
2021-01-29 10:40:57 +08:00

10 lines
162 B
Bash
Executable File

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