Various ways to delete files in linux

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

Various ways to delete files in linux

rm File 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 -f File name (Function: Delete the file without asking whether to delete it)

Various ways to delete files in linux

## rm -r Folder (function: delete folder recursively)

Various ways to delete files in linux

rm -rf File 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template