Unix Commands I Abuse Every Day
My #1 abuse is xargs -n1.<p>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.<p>For instance, let's say you want to create thumbnails of a bunch of jpegs:<p>find images -name "*.jpg" | xargs -n1 -IF echo F F | sed -e 's/.jpg$/_thumb.jpg/' | xargs -n2 echo convert -geometry 200x<p>Additionally, it's fully parallelizable as xargs supports something akin to pmap.