nezha/cmd/playground/example.sh

9 lines
145 B
Bash
Raw Normal View History

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