bash scripting find file or directory code example Example: bash find file in directory $ ls -R | grep -i "pattern"