Back

Grep and Find

Grep searches inside files for text. Find searches for files by name. Both are powerful tools for navigating large codebases.

# Search for text inside files
grep "TODO" file.js
grep -r "TODO" .           # search all files recursively
grep -r "useState" src/    # find all useState usages

# Find files by name
find . -name "*.tsx"       # all TypeScript React files
find . -name "index.js"    # find index.js anywhere
find . -type f -name "*.env" # find env files

Roadmap