1、快速搜索在目录下面的含有关键字的文件


我们采用下面命令

    cd directories
     
    grep -r  关键字



2、搜索结果

[root@mq-1 ]# grep -r sshkey
configs/kubernetes.groovy:def secretVolume = new SecretVolume('/root/.ssh', 'sshkey', '384')
templates/deploy_deployment.yaml:            - name: host-sshkey
templates/deploy_deployment.yaml:        - name: host-sshkey

 

相关文章:

  • 2022-12-23
  • 2021-11-25
  • 2021-11-27
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-24
  • 2021-11-27
  • 2021-07-13
  • 2021-10-14
  • 2022-12-23
  • 2021-11-27
  • 2021-11-27
相关资源
相似解决方案