Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the meaning of this command rm -rf /
what will it do ?

Answers were Sorted based on User's Feedback



what is the meaning of this command rm -rf / what will it do ?..

Answer / chitra

rm -rf removes the directory recursively and also forcefully.
r stands for recursively
f stands for forcefully

The above command can also be used for removing a file.

Is This Answer Correct ?    25 Yes 0 No

what is the meaning of this command rm -rf / what will it do ?..

Answer / monu verma

It will remove a directory including its subdirectories and
files

Is This Answer Correct ?    24 Yes 0 No

what is the meaning of this command rm -rf / what will it do ?..

Answer / sailesh k

recursively forcely delete the objects even the subfolders
contains any files.

Is This Answer Correct ?    14 Yes 0 No

what is the meaning of this command rm -rf / what will it do ?..

Answer / bharath kumar

this is used to delete the directoy even it is containing
files or sub folders.......

Is This Answer Correct ?    7 Yes 0 No

what is the meaning of this command rm -rf / what will it do ?..

Answer / sricharan

It is a very good question for a fresher to tackle.

rm -rf
yes ofcourse r stands for recursively
f stands for forcefully
and this is used to remove normalfiles, tarfiles, zip files
etc..

One more important thing is, it can be used in scripts
where in it works/ removes only if the file exists. If we
use rm filename in scripts, it removes if it exits else it
throws error message telling this file not exist. Hence
using rm -rf is better option for shell scripting than rm.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

their is a file1,file2 and i want to append file1 data to file2?

9 Answers   IBM,


What do know about tee command and its usage?

0 Answers  


what will be the output of ls ~/..

27 Answers   ABC,


How to open a Database using Unix Command Please Do Reply

9 Answers   Cognizant, CTS,


How can you copy files or directories?

1 Answers  


What is the unix command to confirm a remote host is alive or not?

0 Answers  


How can you create a symbolic link to a file or directory?

1 Answers  


What is grep command in unix with examples?

0 Answers  


What command will bring user back to their home directory in UNIX?

13 Answers   IBM, Wipro,


How do I run a bash script?

0 Answers  


How does pipe () work?

0 Answers  


What is command substitution?

0 Answers  


Categories