Various ways to delete files in linux

王林
Release: 2019-12-07 14:39:56
Original
3807 people have browsed it

Various ways to delete files in linux

rmFile name (function: delete file)

Prompt: whether to delete the file, enter yes

Various ways to delete files in linux

rm *(Function: delete all files under this path)

Various ways to delete files in linux

Online learning video sharing:linux video Tutorial

rm -fFile name (Function: Delete the file without asking whether to delete it)

Various ways to delete files in linux

## rm -rFolder (function: delete folder recursively)

Various ways to delete files in linux

rm -rfFile or directory (function: delete file recursively) Delete directory, most commonly used)

Various ways to delete files in linux

Recommended related articles and tutorials:

linux tutorial

The above is the detailed content of Various ways to delete files in linux. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!