how to search home and sub directories for files linux code example Example: ubuntu terminal find file recursive sudo find . -print | grep -i '.*[.]xml'