When is tmp deleted




















In most cases, the deleting of temporary files will be automatically done but you can do it yourself too. Remove files when they are no longer needed. Web browsers periodically write data to the tmp directory during page views and downloads. A large volume of unnecessary and unwanted files are called lint. Skip to content Android Windows Linux Apple.

Home » Linux. The start of it says this:. RAM by default, and thus erased on power off. This behaviour can be disabled by issuing systemctl mask tmp. The -x arguments are files to be excluded. The 2nd to last argument is the time to wait after the last accessed time. The last argument is the directory to examine. On openSUSE Sign up to join this community. The best answers are voted up and rise to the top.

Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Ask Question. Asked 9 years, 7 months ago. Active 1 year, 5 months ago. Viewed k times. But a nice general way of finding out would be a great thing. Improve this question. John Lawrence Aspden John Lawrence Aspden 2, 3 3 gold badges 15 15 silver badges 12 12 bronze badges. Related: askubuntu. Add a comment. The last argument is the directory to examine.

Python Javascript Linux Cheat sheet Contact. Solution 1: That depends on your distribution. Credits to this answer. On Ubuntu using tmpfiles. Solution 3: On Ubuntu



0コメント

  • 1000 / 1000