🚸 [agent v0.3.3] 优化多行及带参命令执行

This commit is contained in:
naiba
2021-01-28 23:19:59 +08:00
parent c55cb942b3
commit e914dd8135
5 changed files with 30 additions and 4 deletions

View File

@@ -3,7 +3,8 @@ set -x
ME=`whoami`
ping example.com -c20 && \
ping example.com -c3 && \
echo "==== $ME ====" && \
ping example.net -c20 && \
ping example.net -c3 && \
echo $1 && \
echo "==== done! ===="