方式一:# Check if user is root if [ $(id -u) != "0" ]; then echo "Error: You must …… 阅读全文>>