批量建立十个新用户并设置密码在Linux中用shell脚本实现
#!/bin/sh for i in `seq 1 10` do useradd user${i} echo user${i} | passwd password${i} --stdin done