File System Reconnaissance

Recursively enumerate files within the directories specified and their children. For each file search within its content for a specific string of interest.

grep -rni -e "flag[0-9][-|_][0-9]" /etc/ /home/ /media/ /mount/ /opt/ /root/ /srv/ /tmp/ 2> /dev/null

Last updated

Was this helpful?