linux命令
ningdalong
这个作者很懒,什么都没留下…
展开
-
git 统计提交代码行数
git 统计提交代码行数原创 2023-02-07 16:14:50 · 831 阅读 · 0 评论 -
git 命令 高级
比对两个文件夹的 输出差异文件名git 比对忽略空格git 比对保存差异文件linux命令 根据文件路径保存 到指定目录(带原目录结构)修改git最后一次提交备注原创 2022-02-22 10:06:37 · 126 阅读 · 0 评论 -
linux exec 与 xargs 的区别
find -name '*.log' -exec grep -H 'java' {} \;find -name '*.log' | grep 'java'find -name '*.log' -print0 | xargs -0 -n5 -t grep 'java'原创 2018-04-08 15:27:14 · 367 阅读 · 0 评论 -
linux tail 与 grep
tail -f ./a.txttail -f ./a.txt ./b.txttail -f ./*.txttail -f ./*.txt | grep --line-buffer 'java'find -name '*.txt' -print0 | xargs -0 -t tail -f | grep --line-buffer 'java'tail -10 ./a.txttail +10 ./...原创 2018-04-08 16:16:06 · 2084 阅读 · 0 评论 -
linux vi编辑器
行号 :set number特殊字符 :set list强制 !复制 1. 常用复制命令: yy 复制游标所在行整行 2yy 复制 2 行 y2y 复制 2 行 y^ 复制至行首,或y0 y$ 复制至行尾 yw 复制一...原创 2018-04-10 15:59:02 · 267 阅读 · 0 评论 -
linux find 与 newermt
find ./ -name '*.txt' -type f -newermt '2018-01-01 00:00:00' ! -newermt '2018-04-09 00:00:00'原创 2018-04-09 19:38:28 · 2799 阅读 · 0 评论