Every system generates temporary files automatically once you open an application or do something on your computer. These files are required by the system so you can run your applications faster. When you launch an application, a temporary file of that application gets created on the folder where these files are stored. Temporary files on Ubuntu are stored on tmp directory, this directory contains all the temporary files that your system has generated automatically. Over time this folder can t