how to find a file in in a directory bash script code example Example: bash find file in directory $ ls -R | grep -i "pattern"