How to delete files in ubuntu

藏色散人
Release: 2023-01-06 11:13:29
Original
37147 people have browsed it

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.

How to delete files in ubuntu

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 文件夹名
Copy after login

Force deletion of the folder without prompt (the most violent)

sudo rm -rf 文件夹名
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template