[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Temp files
- From: Robert Locke <rlocke ralii com>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: Temp files
- Date: Fri, 10 Sep 2004 10:17:35 -0400
On Fri, 2004-09-10 at 05:44, Nifty Hat Mitch wrote:
> Hint:
>
> If you cannot discover where an application is leaving
> stuff you might try taking advantage of system time stamps
> on files and use find.
>
> In a shell window
>
> # touch /tmp/now
>
> Next start up the browser/tool in question and check some pages.
> Quit that application.
>
> Now lets find things that are new.
> Again in a shell window.
>
> # find ~ -type f -newer /tmp/now -print
>
> Aha....not all files are guaranteed to be in your home dir.
>
> # find / -type f -newer /tmp/now -print > /tmp/list-of-files
>
> Ignore the errors about files you do not have permission for
> because we are looking for files you created (cached).
> Now look at it.
>
> # less /tmp/list-of-files
>
> If all the "new" files are in the expected places and make sense then
> you done. Linux has lots of stuff going on so expect other files...
>
Now, that's cooooool.....
Had never used -newer before.... New tip for the day being saved for
later reference.....
Thanks, and I didn't even ask the question... :-)
--Rob
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]