Skip to content

Commit

Permalink
Update rm.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove authored Mar 11, 2021
1 parent 2f86c0d commit 4391673
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion command/rm.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,16 @@ Remove example ?y(删除文件example)

应注意,这样做是非常危险的!


**rm 命令删除当前目录下的 node_modules 目录**

```shell
find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +
```

**rm 命令删除文件**

```shellbash
```shell
# rm 文件1 文件2 ...
rm testfile.txt
```
Expand Down

0 comments on commit 4391673

Please sign in to comment.