🧙‍♂️
docs.skou.xyz
CtrlK
  • Knowledge base
  • Linux
    • General
      • Group management
      • Terminal usage
    • Errors
      • VirtualBox: Firefox crashes inside guest OS
      • error: failed to prepare transaction (could not satisfy dependencies)
      • GPGME error: No data
      • Stuck at boot screen after update
    • GPU related
      • Hybrid GPU setup (AMD/NVIDIA)
      • NVIDIA
        • Overclocking and fan profiling
    • Tools
      • aircrack-ng
      • airmon-ng
      • airodump-ng
      • archlinux-java
      • comm
      • cut
      • dd
      • firejail
      • git, github-cli
      • gobuster
      • grep
      • hashcat
        • Driver Timeout Patch
      • hcxtools
        • hcxdumptool
        • hcxpcapngtool
        • hcxhashtool
      • hydra
      • john
      • metasploit
      • msfvenom
      • ncdu
      • nl
      • nmap
      • recon-ng
      • smb
      • split
      • sqlmap
      • ssh
        • scp
      • syncthing
      • virtualbox
      • wfuzz
      • wireshark
    • Miscellaneous
      • Huion H640P
      • Varmilo VA88M fn keys
  • Security
    • Writeups
      • HackTheBox
        • Archetype
      • OverTheWire
        • Bandit
      • TryHackMe
        • agent sudo
        • skynet
        • dailybugle
  • Raspberry Pi
    • General
    • PiVPN
  • Pwnagotchi
    • General
  • Programming / Scripting
    • C
      • General
      • Pointers
    • Python
      • argparse
      • dataclass
      • doctest
      • testing
      • venv
    • CryptoHack
      • Introduction
      • General
    • LeetCode
  • Mining
    • SRBMiner
    • NBMiner
    • nanominer
  • Miscellaneous
    • Online resources
Powered by GitBook
On this page
  • Usage
  • Find all files containing specific string
  1. Linux
  2. Tools

grep

Find patterns in files using regular expressions.

Usage

Find all files containing specific string

This can be done recursively using grep -Ril "string" / where,

  • R is for recursive

  • i is for ignore case

  • l is for only the file will be shown and not the content.

  • / is for starting at the root of the machine

PreviousgobusterNexthashcat

Last updated 3 years ago