Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Defrag.and Cleanup of Temp Files
Name: TONY Date: September 7, 2001 at 12:42:07 Pacific
Comment:
I am new to LINUX!How do I cleanup junk TEMP files and Defrag.or do I have/or need to? THANKS
Name: DMR Date: September 7, 2001 at 21:32:49 Pacific
Reply:
The ext2fs filesystem used by Linux doesn't suffer from the same fragmentation problems that the Windows and Mac filesystems do. If they did, an open-source defrag utiliy would be included with every distro. (Actually, I've heard that there are a couple of Linux defrag utilities out there, but as I recall they cause more problems than they cure)
As far as cleaning out temp files goes- yes, that's a good idea, as is emptying your browser's cache and periodically pruning some of the contents of your /var/log directory. I can't really give you a definite answer as to *exactly* what you can delete, because it can depend on your particular installation, and I don't want to be responsible for giving you advice which hoses your system ;) In general, once you've found out what is safe to delete, you can add commands to your startup/shutdown scripts which will perform the deletions automatically.
0
Response Number 2
Name: unisol Date: September 9, 2001 at 13:51:30 Pacific
Reply:
The DEFRAG matter is answered above. Most defrag programs are for ext1filesystem.
If you have a recent distribution you don't need to worry about temp files. Unless you tampered with default settings (cron/anacron) the /tmp directory is cleaned by tmpwatch and your log files are handled by logrotate. At least Redhat/Mandrake distr.
Just empty the .netscape/cache directory once in a while.
Summary: Hi all, I have a dual boot Win98/RH9. I just got done doing the usual scandisk/defrag and clearing out temp files. Should I be doing something equivalent in Linux on a regular basis to keep things r...
Summary: How do you clean up temp files in Linux? I have an Internet-Appliance (went out of business) Internet Pro e-mail /Fire wall server running Linux and one of the partions are full & I need to clean it ...
Summary: I need to know what the command would be to see a history of accessing files. I'd like to be able to see time and date of when the files were accessed and/or modified. Any ideas? I like long walks, es...