Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have some important files in /tmp location.Now I cant see these files.I think I dont want to mention all those file names.These files are just documentation.Thats it.You can assume that some contents of /tmp folder are missing.
Nope. The /tmp directory is used by various applications to store temporary files. Temporary means they have not to be stored permanently, therefore there must be a mechanism to remove them periodically. Indeed most unix systems remove temporary files using a cron job, either by the find and rm command or by tmpwatch. In short the rule is: don't keep valuable data in the /tmp directory, since sooner or later they will be pushed in a black hole!
In RHEL5 it should be controlled by /etc/cron.daily/tmpwatch which will be in turn managed by the system crontab - /etc/crontab - through the run-parts mechanism. See man run-parts and man tmpwatch for details, then you will find out the correct way to remove the cron job. But... I strongly suggest to not wipe it off, otherwise the /tmp directory (and its partition) can fill up in a short period of time. Simply, I would not keep valuable data in /tmp directory.