What does -rf after rm mean? [closed]

0

I have a command in SSH on the Magento platform (installed on an Apache server) to delete the contents of the rm -rf path/to/folder/* cache folder but I'm not really sure for sure what -rf means.

    
asked by anonymous 13.04.2016 / 22:07

2 answers

2

With a little more research I found the following:

% w / remove / delete :

  • % recursive%: recursively deletes all directories / files that match.
  • % coer_de% force (force): force deletion without considering commit

src: link

    
13.04.2016 / 22:31
3

-r recursive mode, that is, remove the folder and subfolders and -f remove forced mode, without prompting the user

This command should be used carefully, it can damage the entire system.

    
13.04.2016 / 22:11