Grep
Basic search pattern
grep -ril <pattern>
r = recursively
i = case insensitive
l = print file name only
Search while excluding specific folder
grep -ril --exclude-dir=.next/ <pattern>
grep -ril --exclude-dir={node_modules,.next} <pattern> //multiple folders
e.g. Excluding .next
folder