Get the App
SLTechnology News&Howtos  ›  Servers  › 

How ubuntu deletes files

Shulou Source: shulou.com Published: 2022-06-01 21:22:10 10月03日 Update

This article is about how ubuntu deletes files. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Ubuntu delete file methods: 1, through the "sudo rm-r folder name" command to force the deletion of the folder and prompt; 2, through the "sudo rm-rf folder name" command to force the deletion of the folder does not prompt.

Operating environment: ubuntu 16.04system, DELL G3 computer

Ubuntu commands to delete files

-r indicates forced deletion, and-f indicates no prompt

Force deletion of folders and prompt

Sudo rm-r folder name

Forced deletion of folders is not prompted (most violent)

Sudo rm-rf folder name Thank you for reading! This is the end of the article on "how to delete files in ubuntu". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Files folders coercion prompts commands contents more articles good practical articles methods violence environment computer look knowledge system reference help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Tech Info macOS Shulou Information MySQL