There are a lot of questions about how to undo a finished rm
command.
In my case, my rm started asking:
"Are you sure you want to delete this file?"
And I need to confirm for each one of them. Instead of manually confirming "y/n":
Can I set "yes" to the remainder while being asked for y/n for the n'th file? (equivalent to "Yes to All" tickbox on Windows) (I know the
yes | rm
trick before starting)Can I abort the operation while being asked for y/n for the n'th file? (except for shutting down the machine :))