![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux shell
有梦想,但不努力的咸鱼
.
展开
-
curl -- connection reset by peer
curl 遇到的问题总结报错connection reset by peer分析:curl --help 查看curl命令的用法Usage: curl [options…] -v, --verbose Make the operation more talkativecurl -sv 查看到有连接proxy的IP解决方法试试取消或者跳过代理。也可以用echo $http_proxy 查看是否有代理...原创 2020-12-28 12:43:13 · 4180 阅读 · 0 评论 -
编写shell 循环创建100个用户
编写shell循环创建100个用户,用户名格式user_[0~99]for i in $(seq 0 99); ##循环产生100个数do [ $i lt 10 ] && useradd user_0$i || useradd user_$i; ##如果这个数小于10(也就是个位数) ,我们就添加0{1-9}用户,反之则直接添加两位数的done...原创 2019-04-15 18:57:45 · 2929 阅读 · 0 评论