I have files that fall into two extension categories (.out and .error). Is there a single command that can delete them all at once?
I tried rm -f *.out || *.error but it did not work. Thanks
(i saw the linked post too but am not sure how to deal with multiple extensions still)
Edit: non recursive case