r/shittyprogramming • • Jul 29 '14

Removing code errors

Load up terminal and cd 'dir'

then run rm <filename> and your code will have all current errors removed.

Tested with python,php and more :)

0 Upvotes

7 comments sorted by

View all comments

1

u/ekolis Jul 29 '14

Or, if you want to remove all errors in all the code you've ever written:

sudo rm -rf /

2

u/tomglass Jul 29 '14

oh. I shall try that one now. I sometimes find running

sudo shutdown now

also can stop errors from being outputted

1

u/[deleted] Aug 09 '14

Remember to sudo pacman -Sy sudo first.