So we could look for all the files that have a TMP extension, which is a temporary extension, and then, we can tell " find" that for every one of those files, just execute the " rm" command for them.
Temporary files, or foo files (.TMP), are files created to temporarily contain information while a new file is being made. It may be created by computer programs for a variety of purposes; principally when a program cannot allocate enough memory for its tasks, when the program is working on data bigger than the architecture's address space, or as a primitive form of inter-process communication.