On Tuesday 07 Jul 2009, Ashok Gautham wrote:
> > On Mon, 2009-07-06 at 17:32 +0530, Rajesh Kumar wrote:
> >> Dear ilugu,
> >>
> >>                  This is rajesh. I am maintaining various type of
> >> Linux Desktop Systems and Windows Systems. I could remove temp,
> >> cookies and unwanted files in Windows base but Linux base systems
> >> how can i remove unwanted files. May i know Liux systems have a
> >> temp and cookies files. If yes which dir files do i delete
>
> There are many things you could clean up. The package cache (depends
> on distro), The logs (It is better if you use logrotate to automate
> this). The /tmp however need not be cleaned. /tmp is a tmpfs that
> works from swap and  memory. So you need not bother about that. You
> can clean up through mozilla. You may also clean up .bash_history.
> This too, I think has a size. It rotates once it reaches a size
> (Typically 1000 lines). Run an updatedb so that your locates are
> zippier.

Additionally you can clean up all your cache/trash directories; the 
following do the job

find ${HOME} -type d -iname '*cach*' -exec rm -fr {}/* \;
find ${HOME} -type d -iname '*tras*' -exec rm -fr {}/* \;

Please note the syntax and read up on find if you have any doubts.

You can schedule cron jobs to do above at regular intervals.

At system level /tmp and /var/tmp at boot time.  Some distros have 
settings to do so in the boot up scripts.


-- Arun Khan


_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to