From 42d692737a29d8a54bc854118ff31a4d8c629e75 Mon Sep 17 00:00:00 2001 From: Adnan Ahmed Date: Tue, 4 Apr 2017 22:01:23 +0400 Subject: [PATCH] Add detail for `-f` option in `rm` command #14 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c7a42c..c821929 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ Where `filename1` is the source path to the file and `filename2` is the destinat ### i. `rm` Removes a file. Using this command on a directory gives you an error. `rm: directory: is a directory` -In order to remove a directory you have to pass `-r` to remove all the content of the directory recursively. +To remove a directory you have to pass `-r` which will remove the content of the directory recursively. Optionally you can use `-f` flag to force the deletion i.e. without any confirmations etc. ```bash rm filename ```