Linux--/tmp directory files are automatically deleted after reboot

Source: Internet
Author: User

SOURCE Blog http://blog.itpub.net/24996904/viewspace-769327/

In the/etc/default/directory, there is a RCS file with the following file contents:
#
#/etc/default/rcs
#
# Default settings for the scripts in/etc/rcs.d/
#
# For information about these variables see the RcS (5) manual page.
#
# This file belongs to the ' initscripts ' package.


Tmptime=0
Sulogin=no
Delaylogin=no
Utc=yes
Verbose=no
Fsckfix=no
Ramrun=no
Ramlock=no

Red Font tmptime=0. A value of 0 means the file is deleted after a restart, and a value of 1 does not automatically delete the file, and a positive integer indicates the file retention time in the/tmp directory.

Linux--/tmp directory files are automatically deleted after reboot

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.