cannot remove 'bookstore/tsundoku/db.sqlite3': Device or resource busy bash python code example Example: device or resource busy lsof +D /path kill -9 $PID