会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zqiushi
博客园
首页
新随笔
联系
订阅
管理
2021年1月26日
随手记
摘要: find 命令 find -type f |xargs ls -l find ./xc/ -type f -name *.png |xargs cp ./png/ find ./ -type f -mtime +300 -exec rm ; iptables 命令 iptables -R INPUT
阅读全文
posted @ 2021-01-26 16:55 zqiushi
阅读(33)
评论(0)
推荐(0)
2019年12月31日
vim 删除每行开头结尾空格
摘要: 删除多余的空格行末:$ 行首:^空格:\s行末空格:\s\+$行首空格:^\+\s有些人认为行末的空格是无用,浪费而难看的。要删除这些每行后面多余的空格,可以执行如下命令::%s/\s\+$//命令前面指明范围是 "%",所以这会作用于整个文件。"substitute" 命令的匹配模式是"\s\+$
阅读全文
posted @ 2019-12-31 11:12 zqiushi
阅读(1448)
评论(0)
推荐(0)
read line(逐行读取)
摘要: 写法一: #!/bin/bashwhile read linedo echo $linedone < file(待读取的文件) 写法二: #!/bin/bashcat file(待读取的文件) | while read linedo echo $linedone 写法三: for line in `
阅读全文
posted @ 2019-12-31 10:54 zqiushi
阅读(672)
评论(0)
推荐(0)
2019年8月2日
pycharm 激活
摘要: https://blog.csdn.net/u011862930/article/details/91489471
阅读全文
posted @ 2019-08-02 15:26 zqiushi
阅读(93)
评论(0)
推荐(0)
2019年7月26日
rsync 启动脚本
摘要: #!/bin/bash . /etc/init.d/functions pidfile="/var/run/rsyncd.pid" start_rsync="rsync --daemon --config=/etc/rsyncd.conf" status1=$(ps -ef | egrep "rsync --daemon.*rsyncd.conf" | grep -v 'grep') func...
阅读全文
posted @ 2019-07-26 14:01 zqiushi
阅读(193)
评论(0)
推荐(0)
2019年7月24日
rsync
该文被密码保护。
阅读全文
posted @ 2019-07-24 13:41 zqiushi
阅读(5)
评论(0)
推荐(0)
2019年7月5日
收藏
摘要: https://try.gogs.io gogs 比gitlab轻量 https://www.liaoxuefeng.com/wiki/1016959663602400/1017681679479008 廖雪峰 python https://wechat.python666.cn/cls/lesso
阅读全文
posted @ 2019-07-05 10:19 zqiushi
阅读(117)
评论(0)
推荐(0)
2019年7月4日
elk
摘要: docker run --name elk2 -e ES_MIN_MEM=1024m -e ES_MAX_MEM=6248m -p 5601:5601 -p 9200:9200 -p 5044:5044 -p 5046:5046 -d --restart=always -v /var/lib/doc
阅读全文
posted @ 2019-07-04 11:45 zqiushi
阅读(94)
评论(0)
推荐(0)
2019年6月25日
sql is null
摘要: select * from a where b_consume = 0 and (state -1 or state is null) and SOURCE = 221
阅读全文
posted @ 2019-06-25 13:56 zqiushi
阅读(135)
评论(0)
推荐(0)
helm istio k8s docker
摘要: helm https://hub.helm.sh/ k8s https://www.kubernetes.org.cn/k8s istio 微服务 https://istio.io/
阅读全文
posted @ 2019-06-25 11:52 zqiushi
阅读(220)
评论(0)
推荐(0)
下一页
公告