clearing history

William Stock wstock at fuse.net
Mon Jan 10 21:52:12 UTC 2011


On Mon, 2011-01-10 at 16:55 -0400, Jorge Fábregas wrote:
> On 01/10/2011 03:51 PM, Parshwa Murdia wrote:
> >  if we want to clear the history of these files (if are created) in Fedora, 
> >  how can we do?
> 
> If your "clear the history" means to remove temporary files... There are
> ...

> environment).  That would be (as root):
> 
> init 3
> rm -rf /var/tmp/*
> rm -rf /tmp/*
> 
> As always, be careful when using the "rm" command.

Careful isn't enough.  Be paranoid.  The "-rf" part means "just do it
and don't ask me any questions."  Since you're root, ownership and file
permissions are irrelevant.  Fat finger something (especially the
asterisk) and you might be rebuilding your system.

Bill
> 
> HTH,
> Jorge




More information about the users mailing list