Grep

# Grep tab using Perl regex
grep -P "\t"
 
# Select multiple text patterns(e.g "this" or "that")
grep -E "this|that"
 
# Searches in files recursively through directories for pattern, 
#  while ignoring filename containing ignoreString
grep pattern $(find . -type f | grep -v 'ignoreString')
grep pattern $(find . -name '*.txt' -or -name '*.java' | grep -v 'ignoreString')
grep -E -rn "Your search string" /location/
 
 
# show 15 lines before and after
grep -C 15
 
 
# Color match term
grep --color=auto