Ask Your Question

Cleaning of temporarily files

asked 2012-05-14 06:22:06 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Sir, I am new to fedora -linux and want to now how to clean up the temporarily and useless files? as we do in windows by cleaning temp, %temp%, prefetch and cookies directories.

feddora 16 KDE

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-14 07:16:39 -0500

ztank1013 gravatar image

There is no need to worry about it in fedora (and in Linux in general). The following directories


will be automatically cleaned up by a dedicated cronjob (/etc/cron.daily/tmpwatch) based on some usage/access criteria. Please just check if your cron service is running and configured to start at boot time.

I would not recommend to cleanup manually those directories because they are used by applications to run correctly so if you by mistake delete some temporary needed files, you might have your application malfunctioning...

For more info on how tmpwatch work just open a terminal and run man tmpwatch

edit flag offensive delete link more

Question Tools


Asked: 2012-05-14 06:22:06 -0500

Seen: 8,953 times

Last updated: Oct 05 '14