Tag Info

New answers tagged

1

Another solution is this one: http://stackoverflow.com/questions/11231937/bash-ignoring-error-for-a-particular-command Just add an OR-statement after your command: rm -rf my/dir || true This way, when statement #1 fails (throws error), run statement #2, which is simply true.



Top 50 recent answers are included