Removing a "busy" text file?

Richard S. Crawford rscrawford at mossroot.com
Sun Jan 30 20:50:22 UTC 2005


On Sunday 30 January 2005 12:44 pm, Gunnar Kramm flailed at a keyboard and 
produced this:

> [snip]
> 
> Try (as root)
> lsof | grep "Concerning Hobbits.mp3"
> 
> 
> That ought to tell you what PID has the file open

Thanks.

After bashing myself over the head and remembering that the file was actually 
on another computer, I simply ssh'ed into that other computer and rm'ed the 
file there.  No problem.

I'll be sure to remember lsof, though.  Thanks.

-- 
Slainte,
Richard S. Crawford (mailto: rscrawford at mossroot.com)
AIM: Buffalo2K / http://www.mossroot.com
"You can't depend on your judgment when your imagination is out of focus."
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050130/f8e15e9b/attachment-0001.sig>


More information about the fedora-list mailing list