会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
‘嗯哼’
博客园
首页
新随笔
联系
订阅
管理
2019年8月14日
shell脚本基础练习题
摘要: 判断/etc/inittab文件是否大于100行; shell编写99乘法表; shell计算100以内偶数的和
阅读全文
posted @ 2019-08-14 21:03 ‘嗯哼’
阅读(1946)
评论(0)
推荐(0)
2019年8月13日
shell计算100以内加法
摘要: #!/bin/bash#100以内假发declare -i i=0declare -i sum=0while [ $i -le 100 ];do sum+=$i let i=i+1doneecho $sum
阅读全文
posted @ 2019-08-13 17:07 ‘嗯哼’
阅读(289)
评论(0)
推荐(0)
shell脚本添加用户
摘要: #!/bin/bash#添加用户 if id $* &> /dev/null;then echo "这个用户不存在"else for i in $*;do useradd test$* echo "123456" | passwd --stdin "$*" &> /dev/null echo "用户
阅读全文
posted @ 2019-08-13 11:25 ‘嗯哼’
阅读(349)
评论(0)
推荐(0)
2019年8月1日
python学习ing
摘要: ##注册验证用户 def users(): users_ = input('users: ') k1 = 'qwertyuiopasdfghjklzxcvbnm' k2 = '1234567890' k3 = '!@#$%^&*()_+' is_k1 = False is_k2 = False is
阅读全文
posted @ 2019-08-01 14:01 ‘嗯哼’
阅读(169)
评论(0)
推荐(1)
公告