1.在shell中如果有变量存在,$1 作为变量传参的话 需要在前面加 \
比如:
ps -ef | grep Application | grep -v grep | awk '{print \$2}' | xargs -n1 kill -9