Removing a file (again)

Conor P. Cahill cpcahil at virtech.uucp
Sat Sep 22 12:28:46 AEST 1990


In article <9618 at ccncsu.ColoState.EDU> havens at handel.cs.colostate.edu (Mark Havens) writes:
>I tried 'find . -inum # -exec rm {} \;'
>and it said : /filename 700? remove?
>and I said yes, and it said: 'file not removed. Text file busy'

This means that the file you are trying to remove is an executable that 
is currently being executed (or has the sticky bit set and was executed
sometime since the last boot).  

On your system you cannot remove this file until it is no longer busy (i.e.
whoever is using it stops, or a system reboot, etc).  I say "on your system"
because this is not the case for all systems.

If you neet to get rid of the file because you want to install new software,
you can mv it to another name on the same filesystem and then copy in a new
file in it's place.

-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.unix.admin mailing list