shell script find files in directory code example Example: bash find file in directory $ ls -R | grep -i "pattern"