Home > Article > Operation and Maintenance > How to delete files in ubuntu
How to delete files in Ubuntu: 1. Use the "sudo rm -r folder name" command to forcefully delete the folder and prompt; 2. Use the "sudo rm -rf folder name" command to forcefully delete the folder and prompt No prompt.
The operating environment of this article: ubuntu 16.04 system, DELL G3 computer
Ubuntu file deletion command
-r means force Delete, -f means no prompt
Force deletion of the folder and prompt
sudo rm -r 文件夹名
Force deletion of the folder without prompt (the most violent)
sudo rm -rf 文件夹名
Recommendation: "linux Video tutorial》
The above is the detailed content of How to delete files in ubuntu. For more information, please follow other related articles on the PHP Chinese website!