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.