Re: clearing history

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
directories designated for temporary stuff (/var/tmp and /tmp) and there
is a program called "tmpwatch" which runs by means of:

/etc/cron.daily/tmpwatch

...which rruns daily and cleans old files in these directories.  You, as
a regular user, don't usually need to take care of this.

However, if you want to manually clean files in these temp directories,
I suggest you switch to runlevel 3 (system mode without graphical
environment).  That would be (as root):

init 3
rm -rf /var/tmp/*
rm -rf /tmp/*

As always, be careful when using the "rm" command.

HTH,
Jorge
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux