How do I delete a specific file in a directory in Linux?

Man Ly

New member
How do I delete a specific file in a directory in Linux?
Answer
1) To remove a directory named as mydir that contains other files or directories, use the following command. You can replace “mydir” with the name of the directory you want to delete. The above command would also present a prompt for approval to delete each of the files.
 

Tìm kiếm

Back
Top