delete something when resources may be busy linux code example Example: device or resource busy lsof +D /path kill -9 $PID