Frytea Blog
首页 文章 归档 关于

grep exclude 排除

2025年8月28日 · Frytea · 5 分钟 · 技术笔记
linux
grep exclude 排除
--exclude=FILE_PATTERN  skip files and directories matching FILE_PATTERN
--exclude-from=FILE     skip files matching any file pattern from FILE
--exclude-dir=PATTERN   directories that match PATTERN will be skipped.

Refs:

  • grep时排除指定的文件和目录
返回文章列表

© 2026 Frytea Blog. 保留所有权利。

GitHub Twitter RSS