LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Remove files non-interactively (https://www.linuxquestions.org/questions/linux-newbie-8/remove-files-non-interactively-188996/)

ar1 06-02-2004 05:50 PM

Remove files non-interactively
 
How can I have the rm command remove files without confirmation by default?

thanks

Peacedog 06-02-2004 05:55 PM

rm -rf filename, be careful w/that one.
good luck.

whansard 06-02-2004 06:16 PM

if you run alias, you should see that alias has rm -i there. you can remove it from your .bash_rc or wherever it is, or type unalias rm, and that alias will be removed for that session.

proudclod 06-02-2004 06:32 PM

non interactively is simply rm -f

rm -rf is recursively, so doing rm -rf / would remove EVERYTHING :|


All times are GMT -5. The time now is 11:07 PM.