> For the complete documentation index, see [llms.txt](https://jackmeister.gitbook.io/jackmeister-playbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jackmeister.gitbook.io/jackmeister-playbook/network-pentest/linux/finding-files.md).

# Finding files

```
#find all .php that contain "pass" in its file
find / -type f -name "*.php" -print0 | xargs -0 grep -l "pass"

#find all .png
find / -type f -name "*.png" -print0 | xargs -0 -n1 echo
```
