How do you force delete a file on Linux?

Đức Lưu

New member
How do you force delete a file on 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.
 

Tìm kiếm

Back
Top