From 773f0d18a0540b2238854a01b90e850de996ff7c Mon Sep 17 00:00:00 2001 From: socutebunny <32743950+socutebunny@users.noreply.github.com> Date: Mon, 18 Mar 2019 03:26:06 -0700 Subject: [PATCH] Added rm usage and examples (#26957) * Added rm usage and examples * md-ize code --- guide/english/bash/bash-rm/index.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/guide/english/bash/bash-rm/index.md b/guide/english/bash/bash-rm/index.md index 7bb5b92e31..d22b6ef062 100644 --- a/guide/english/bash/bash-rm/index.md +++ b/guide/english/bash/bash-rm/index.md @@ -6,6 +6,10 @@ title: Bash rm ### Usage +```bash +rm [options] [file_name] +``` + **Delete a File** ```bash @@ -31,9 +35,9 @@ There are few commonly used arguments: 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` - - +```bash +rm -rf folder +``` ### More Information: * [Wikipedia](https://en.wikipedia.org/wiki/Rm_(Unix))