Forceful removal of directory not working..!!
I am trying to delete a directory forcefully and hence I used the command:
rm -rf <dir-name>
Even then, it is asking for confirmation which would prevent me from automating this command.
Please help me with a solution.
bash-3.00$ chmod 777 gcc-3.4.2
bash-3.00$ rm -rf gcc-3.4.2/
rm: examine files in directory gcc-3.4.2/ (yes/no)? yes
rm: examine files in directory gcc-3.4.2//gcc (yes/no)? yes
rm: examine files in directory gcc-3.4.2//gcc/cp (yes/no)?