SHELL脚本练习 2019年10月18日 SHELL脚本练习 0条评论 21次阅读 0人点赞 1.编写脚本 sumid.sh,计算/etc/passwd⽂件中的第10个⽤户和第20⽤户的ID之和 #!/bin/bashS_O=head /etc/passwd | tail -1 | cut -d: -f3S_T=…