From 49738cbd90d170d1c5b95c3b02eee598a6b342ae Mon Sep 17 00:00:00 2001 From: lannwal <42968084+lannwal@users.noreply.github.com> Date: Sat, 17 Nov 2018 18:48:26 +0100 Subject: [PATCH] Update index.md (#21844) Added an example for calling rm with arguments to remove a nonempty folder. --- guide/english/bash/bash-rm/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guide/english/bash/bash-rm/index.md b/guide/english/bash/bash-rm/index.md index 70a321b608..86706eb1ce 100644 --- a/guide/english/bash/bash-rm/index.md +++ b/guide/english/bash/bash-rm/index.md @@ -28,6 +28,11 @@ There are few commonly used arguments: ### Warning This command is capable of deleting many files at once with ease. This can be beneficial, but also dangerous. Use at your own risk. +To remove a nonempty folder for example, type: + `rm -rf folder` + + + ### More Information: * [Wikipedia](https://en.wikipedia.org/wiki/Rm_(Unix)) * [Man pages](http://man7.org/linux/man-pages/man1/rm.1.html)