Remove a Directory
Quck question...
When I want to remove a directory and everything below it (files, subdirectories, etc...) I usr "rm -r directoryname", but when I do that it prompts me for all of the deletions... is there any way to tell it to automaticlly delete everything without promting me, like a "Yes to All"?? Thanks in Advance!! Aaron |
rm -rf
|
Check the .bashrc file in the home directory of the user you are logged in as.
Sometimes there is an alias set up for rm which is rm -i which will prompt you for confirmation of each file. This is usually setup by default on RedHat. You can comment or remove this entry and rm should function the way you want it to. Ryan |
All times are GMT -5. The time now is 12:16 PM. |