how to delete file as administrator linux code example Example: delete file linux terminal rm filename # or add -rf if you don't want to see confirm