Remove a directory

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
To remove a directory that is not empty, use the command below:
 
To remove a directory that is not empty, use the command below:
  
<code>
+
<pre>
 
$ rm -rdf <directory>
 
$ rm -rdf <directory>
</code>
+
</pre>
  
 
Note: In the above example, you would replace "<directory>" with the name of the directory you wish to delete.
 
Note: In the above example, you would replace "<directory>" with the name of the directory you wish to delete.

Revision as of 15:01, 12 May 2010

To remove a directory that is not empty, use the command below:

$ rm -rdf <directory>

Note: In the above example, you would replace "<directory>" with the name of the directory you wish to delete.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox