摘要: curl -I -o /dev/null -s -w %{http_code} http://domain 阅读全文
posted @ 2024-02-21 22:29 lucky_tomato 阅读(80) 评论(0) 推荐(0)
摘要: find /date/ -type f -name "*.txt" -exec cp {} /tmp \; ind /date/ -type f -name "*.txt" | xargs cp -t /tmp 阅读全文
posted @ 2024-02-21 22:19 lucky_tomato 阅读(48) 评论(0) 推荐(0)
摘要: 一般是windows下文本编辑问题,上传到Linux服务器识别不了,最简单解决方法,就把脚本内容复制粘贴到Linux服务器脚本保存就行 阅读全文
posted @ 2024-02-21 22:13 lucky_tomato 阅读(356) 评论(0) 推荐(0)
摘要: grep -A n "keyword" filename #显示匹配到的之后n行内容 grep -B n "keyword" filename #显示匹配到的之前n行内容 grep -C n "keyword" filename #显示匹配到的前后n行内容 阅读全文
posted @ 2024-02-21 22:05 lucky_tomato 阅读(1766) 评论(0) 推荐(1)
摘要: https://ipw.cn/ipv6webcheck/ 阅读全文
posted @ 2024-02-21 21:07 lucky_tomato 阅读(172) 评论(0) 推荐(0)
摘要: 停止docker报错,是因为docker在关闭状态下被访问会触发自动唤醒机制: Warning: Stopping docker.service, but it can still be activated by: docker.socket 解决: systemctl stop docker sy 阅读全文
posted @ 2024-02-21 20:39 lucky_tomato 阅读(968) 评论(0) 推荐(0)