Unix Commands I Abuse Every Day
My #1 abuse is xargs -n1.A lot of people like writing bash for loops, I will try and avoid that as much as possible, xargs -n1 is the bash equivalent of a call to 'map' in a functional language.For instance, let's say you want to create thumbnails of a bunch of jpegs:find images -name "*.jpg" | xargs -n1 -IF echo F F | sed -e 's/.jpg$/_thumb.jpg/' | xargs -n2 echo convert -geometry 200xAdditionally, it's fully parallelizable as xargs supports something akin to pmap.