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

what is the command to find out the difference between files and folders?

6 Answers  


What is the use of finger command?

0 Answers  


Name the unix command to find how many days the server has been up.

0 Answers  


What is the comma to display different lines that are found when compare two files?

0 Answers  


What is file system in unix??

10 Answers   Symphony,


in UNIX ,What is the command to view contents of a large error log file?

7 Answers  


if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.

28 Answers   TCS,


Assume the following files are in the working directory prompt> ls -l tasks -rw-r--r-- 1 alex student 1423 Feb 21 14:01 tasks What command can Alex use to give everyone permission to write to the file? What will the ls -l command display if he does so?

10 Answers   Infosys,


How does a user get the current date, time in UNIX?

6 Answers   IBM,


Differentiate cat command from more command.

0 Answers  


What is a shell in Unix? Name some common Unix shells.

2 Answers  


How to copy multiple files and directories into some other directory?

4 Answers  


Categories