Wednesday, December 29, 2010

Sterno Safe For Smores

BASH: rm-r quietly

On some systems, it happens that trying to remove a directory and its entire contents will be forced to answer a long series of requests for confirmation of elimination: the system asks you about every single files and subdirectories in the directory that we want to eliminate.
If you want to delete the folder that there are thousands of files one by one to confirm the deletion is a task that certainly does not want to face.

The problem is easy to solve, we use the normal command to delete the folders
 rm-r [directory-name] 
you must add the-f option so
 rm-f-r [directory-name ] 
or so
 rm-rf [directory-name] 

NOTE: I encountered this problem in your Red Hat and Fedora, OpenSuse and Ubuntu but not in

0 comments:

Post a Comment