find, search, grep

find

use cases:

more examples

find /path -name *.txt
find /path -type f -name test.txt
find /path -name failed*.* -type f
find /path -type f -not -name "*.html"
find / -name "file.txt" -size +4M
find /dev/ -type b -name "sda*"
find ./*file*

grep

grep [OPTION]... PATTERNS [FILE]...

examples

sed

sed -i 's/SEARCH_REGEX/REPLACEMENT/g' INPUTFILE


Created 2023-03-20 09:57:43 UTC by Daniel Raab
Updated 2025-04-17 11:21:13 UTC by Daniel Raab