如何使用 ack-grep (ag) 列出包含特定字符串的文件名
使用 ag -l 仅列出包含给定字符串的文件名。
例如,为了列出包含字符串 403 Forbidden 的文件名,使用
ag_list_filenames.sh
ag -l "403 Forbidden"Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow