随笔分类 -  linux笔记

摘要:sed -i "s|if (bind_user == 'True') {|if (bind_user == 'REMOVED') {|g" /www/server/panel/BTPanel/static/js/index.js 阅读全文

posted @ 2021-03-12 17:17 PartMan 阅读(219) 评论(0) 推荐(0)

摘要:https://github.com/LXK9301/jd_scripts 阅读全文

posted @ 2021-01-22 18:29 PartMan 阅读(744) 评论(0) 推荐(0)

摘要:http://get.daocloud.io/#install-compose 阅读全文

posted @ 2021-01-22 18:28 PartMan 阅读(151) 评论(0) 推荐(0)

摘要:查找关键字grep -rn "查找的字符串" ./替换关键字sed -i "s/源字符串/替换的字符串/g" `grep -rl "源字符串" ./` 阅读全文

posted @ 2021-01-22 18:26 PartMan 阅读(315) 评论(0) 推荐(0)

摘要:打包加密: # 例如打包压缩sql文件 # 加密密码为:Unfd@89dN3Cpq # filename为文件名 tar -zcf -filename.sql |/bin/openssl des3 -salt -k Unfd@89dN3Cpq|dd of=filename.tar.gz 解压解密: 阅读全文

posted @ 2020-12-18 19:39 PartMan 阅读(565) 评论(0) 推荐(0)

导航