RE: [gentoo-user] What can I safely delete from /tmp?

2005-04-27 Thread Daevid Vincent
 cd /tmp
 rm -rf * (be VERRY BLOODY CAREFUL which dir you are in when you type
this!)

Wouldn't it be wiser to type rm -rf /tmp/* ;-)

Or if really paranoid, rm -rfvi /tmp/* (-i for interactive, -v for
verbose)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] What can I safely delete from /tmp?

2005-04-26 Thread Richard Watson
I'm starting to get low on disk space and was wondering what I can safely
delete from the /tmp directory. How about everything? 

Thanks, Richard


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25/04/2005
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What can I safely delete from /tmp?

2005-04-26 Thread Jason Cooper
Richard Watson ([EMAIL PROTECTED]) scribbled:
 I'm starting to get low on disk space and was wondering what I can safely
 delete from the /tmp directory. How about everything? 

You should check to see that nothing has a file open first.  'lsof' is
good for this, however, if /tmp is a separate partition, you can just
try to umount it.  If it unmounts, then remount and delete everything.
Otherwise, just use 'lsof | grep tmp'.  

hth,

Cooper.
-- 
gentoo-user@gentoo.org mailing list