Computing.Net > Forums > Linux > Defrag.and Cleanup of Temp Files

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

Reply to Message Icon

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



Sponsored Link
Ads by Google

Response Number 1
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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Linux and SQL with Fronte... Linux/Samba File Permissi...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Defrag.and Cleanup of Temp Files

housekeeping in Linux www.computing.net/answers/linux/housekeeping-in-linux/24263.html

How do you clean up temp files? www.computing.net/answers/linux/how-do-you-clean-up-temp-files/8102.html

History of accessing files www.computing.net/answers/linux/history-of-accessing-files/29134.html