摘要:
#!/bin/bash echo "*****************"echo 欢迎使用echo "1.添加用户"echo "2.退出操作"echo "*****************"echo "请选择:"read again while [ $again -eq 1 ]doecho ==============================echo "请输入您希望创建的用户的个数";r...
阅读全文
posted @ 2006-11-23 13:06
剑落飘香
阅读(191)
推荐(0)
编辑
摘要:
成批添加用户账户 创建脚本addusers,内容为: #!/bin/bash echo -n " Give me the name of the file containing user data..." read file[1] [ ! -f $file ] && ( echo " '$file' does not exist..."; exit 1 ) while read u...
阅读全文
posted @ 2006-11-23 10:47
剑落飘香
阅读(301)
推荐(0)
编辑