to be
a problem slover

bash search content in specific file within directory

在当前目录递归搜索名字为 go.mod 的文件,看是否包含 ttl 关键字。

find . -name go.mod | xargs grep -n 'ttl'
赞(4) 打赏
欢迎转载,注明出处:刘世明的博客 » bash search content in specific file within directory

评论 2

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #1

    Thanks for sharing. I read many of your blog posts, cool, your blog is very good. https://www.binance.info/register?ref=IHJUI7TF

    binance kod1周前 (05-18)回复
  2. #2

    Aw, tis wwas a reallky nice post. Finding thee ime aand actuazl effort tto pproduce a very good
    article… butt hat can I say… I hesitate a lott aand never mange too gget anuthing done.

    my web-site txxxvideos.com

觉得文章有用就打赏一下作者

支付宝扫一扫打赏

微信扫一扫打赏