Ubuntu – Kill zombie processes

for each in `ps -j auxww | grep Z | grep -v PPID | awk ‘{print $3}’`; do for every in `ps auxw | grep $each | grep cron | awk ‘{print $2}’`; do kill -9 $every; done; done


sudo ps -fe | grep -i “defunc” | awk {‘print “kill -9 “$3’} | sudo sh

Octal literals

Found this little tidbit in my notes somewhere, I believe it pertains to something in JS or Python

A number with a leading zero is interpreted as octal literal, so trying to interpret 08 gives an error, since anything bigger than 7 isn't allowed in octal numbers.
As well as some fun links on object recognition.