./addu.sh: line 6: [: too many arguments
[root@localhost shelltest]# ./addu.sh
Please input your user name: Finley
Please input your the number of users: 20
Please input your password for the users: user
./addu.sh: line 6: [: too many arguments
[root@localhost shelltest]#
too many arguments的意思是:参数太多。line6表示:第六行。仔细看看你的脚本第六行,是不是有多余的符号把你的参数隔开了,使得参数看起来太多了。
把脚本贴出来啊,要不然谁能帮你看?