主要用到两个命令
-n -z
if [ -n "$PID" ]; then
echo "PID is not empty"
fi
if[ -z "$PID" ]; then
echo "PID is empty"