Linux - Deleting folder recursively

 

Linux - Deleting folder recursively

rm -rf directories

Will delete the existing directory named ‘directories‘ and all directories and files below it. Even if it runs into an exception that it would usually prompt for user interaction.

the r is recursive and the f is force.

Tags: , , ,
Posted under Bookmarks, Linux |

Post a Comment



We use third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you.