Đạt Michio
New member
How do I force delete a file in Linux?
Answer
Open the terminal application on Linux. The rmdir command removes empty directories only. Hence you need to use the
rm command
to remove files on Linux. Type the command rm -rf dirname to delete a directory forcefully.
Answer
Open the terminal application on Linux. The rmdir command removes empty directories only. Hence you need to use the
rm command
to remove files on Linux. Type the command rm -rf dirname to delete a directory forcefully.