how to search all directories recursively in linux code example Example: ubuntu terminal find file recursive sudo find . -print | grep -i '.*[.]xml'