Say I wanted to make sure I'm removing the right files first, so I did something like:
rm -i *
just to make sure that I'm okay with the files that I am removing. So this will ask me for each file. After a few files, suppose I realize it's exactly what I wanted to remove. Instead of CTRL+Cing and just doing rm *, is there a way I can just say Yes to all?
This question comes more so from curiosity rather than functionality.