Думаю, rm -f
может помочь вам:
-f
Does not prompt before removing a write-protected file. Does not display an error message or return error status if
a specified file does not exist. If both the -f and -i flags are specified, the last one specified takes affect.