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