About Linux under TMP folder __linux

Source: Internet
Author: User
Tags tmp folder

About the Linux under Tmp folder, just as the TMP temporary file Temp folder.

(1) Since it is a temporary folder, then the contents of this folder will be cleared, then why I restart the computer after the contents of this folder will still exist. For more information, refer to this article http://www.opsers.org/base/clean-up-on-the-linux-system-tmp-folder-you-may-want-to-know.html

That is, we can /etc/cron.daily/tmpwatch this file to see when the contents of the TMP folder are cleared and how we time.

(2) Here I would also like to say a tip about using the TMP folder, as a beginner, often by using some of the files in Linux to test some commands, such as VI/ETC/PASSWD Test VI dd Delete yy copy P paste and so on functions, May be caused by the misuse of the original file damage, which we do not want to happen.

Workaround: We can copy the file into TMP via CP/ETC/PASSWD/TMP and try some commands on the/tmp/passwd file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.