<C-r>: some_very_long_and_complex_command # 后面作为注释,可以通过ctrl+r搜索到这个命令iotop: 查看io 的 toptouch file{1,2,3,4,5}.sh同时操作多个文件find ./ -type l: -ls 找出所有符号链接文件sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E "Host\: .*|GET \/.*": 捕获http请求find . -iname '*.jpg' | sed 's/.*/<img src="&">/' > gallery.html生成html 相册git log --reverse -p: 优雅的倒叙查看 git 日志for ((;;)) do pgrep python || echo "python not found"; sleep 5; done没找到 Python 进程就睡五秒钟…htmltree index.html格式化展示 html 文件
Useful shell tips
Author: Wyatt Jia
License: Copyright (c) 2023 CC-BY-NC-4.0 LICENSE