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