read aa file='cat /etc/passwd |grep $aa' if [ -z $aa ] then echo "the user is not exist" useradd user$aa else echo "the user is exist" fi
转载于:https://blog.51cto.com/msjvssg/1734399
read aa file='cat /etc/passwd |grep $aa' if [ -z $aa ] then echo "the user is not exist" useradd user$aa else echo "the user is exist" fi
转载于:https://blog.51cto.com/msjvssg/1734399