Re: pruning files
- From: Kevin Collins <spamtotrash@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 17 May 2006 17:59:42 GMT
In article <1147869520.806892.284480@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Robert
Hicks wrote:
I have a bunch of daaa* and baaa* files in /var/tmp that are old (as in
2003). Can I safely remove these?
Also I have a file called "index" that is rather large. Can I zero that
out with "> index" without hurting anything?
It depends :)
Are you sure they aren't used? Assuming your system has been rebooted after the
mod time of these files, you are probably safe. You might also want to use
fuser and/or lsof to make sure they aren't open if there are more recent than
the last reboot...
Kevin
--
Unix Guy Consulting, LLC
Unix and Linux Automation, Shell, Perl and CGI scripting
http://www.unix-guy.com
.
- References:
- pruning files
- From: Robert Hicks
- pruning files
- Prev by Date: Re: bash by default for root user
- Next by Date: Re: bash by default for root user
- Previous by thread: pruning files
- Next by thread: Migration of HP3000 to HP9000 unix
- Index(es):
Relevant Pages
|