What is the command for deleting a directory?
What is the command for deleting a directory?
|
Start with "man rmdir" - in need proceed to "man rm".
|
Quote:
rm -r directoryname --force |
Similar to binary_0011, but easier to type:
rm -rf directoryname jer |
rm -rf will remove a directory and its contents without prompting you to be sure that's what you want.
rmdir removes only an empty directory---much safer: clean out the directory, then remove it |
deleting directory
Quote:
root# rm -fr dir_name |
All times are GMT -5. The time now is 06:22 PM. |