force file delete linux code example Example: how to forcefully delete a directory in linux rm -rf dirname