摘要:
#!/bin/bashs=`cat /usr/share/dict/linux.words`for i in $s;do if [ $1=$i ];then echo "$1在字典中" exit fidone echo "$1不在字典中" 阅读全文
摘要:
#!/bin/bashfor i in `seq 1 10`do if id user-$i > /dev/null;then read -eq "user-$i用户已经存在,是否删除(y/n)"ss if [ $ss=y ];then userdel -rf user-$i elif [ $ss 阅读全文