Linux-Dangerous-Command-rmLinux-Dangerous-Command-rm

Linux Command – rm is one of the most dangerous command in Linux, that will used when you would like to delete/remove file and directory.

Make ensure, when you use this command, you should not make any typo mistakes that will leads a critical issues in Linux system.

rm – command basically used to delete file and directories, During Execution on rm Command you should be more careful with typo mistake

There are some option used with rm command are following below.

1. Linux Command – rm : when you use this command in Linux, it will delete files.

2. Linux Command – rm -r  : This Linux command will delete folder recursively, included empty folder as well.

3. Linux Command – rm -f : this Linux command will delete ‘Read only File’ without asking anything on display.

4. Linux Command – rm -rf / : this Linux command will forcefully delete every thing in root directory.Please don’t use it in Production.

5. Linux Command – rm -rf * : this Linux command will forcefully delete every thing in working directory or current directory.Please don’t use it in Production.

6. Linux Command – rm -rf : this Linux command will forcefully delete every thing in working directory or current directory with sub-folder . Please don’t use it in Production.

I would also recommended below Linux Article for you.

How to find the file system size in Linux using df command.

You can watch this video to know more about rm Command.

Linux Dangerous Command — rm

One thought on “Linux Command – rm”

Leave a Reply

Your email address will not be published. Required fields are marked *

Netflix’s Overall Architecture. Gold is money every thing else is credit