Hacker News new | ask | show | jobs
by jacquesm 4378 days ago
> I got into the habit of doing for i in foo* ; echo $i ; done and then inserting the rm -fr statement (by using uparrow) just as a precaution to slow me down.

I do the exact same thing only I use 'ls foo*' first, and when doing bulk updates / deletes with sql servers I again first do a select and then modify the select once I'm sure it will hit the right rows.