ubuntu find files with extension code example Example: terminal find file by extension recursive find /directory/path -type f -name "*.in"