if [ `whoami` = "root" ];then echo "root用户!" else echo "非root用户!" fi