linux 批量添加用户 useradd 练习题 (passwd –stdin)
echo 1 \| passwd --stdin baimei **1.批量添加10个用户stu01,stu02....stu10** echo stu{21..30}\|xargs -n1 \| awk '{print"useradd",$1,"-M","-s/bin/bash"}'\|bash ...
echo 1 \| passwd --stdin baimei **1.批量添加10个用户stu01,stu02....stu10** echo stu{21..30}\|xargs -n1 \| awk '{print"useradd",$1,"-M","-s/bin/bash"}'\|bash ...