Reply to post: Re: Defensive typing

Rookie almost wipes customer's entire inventory – unbeknownst to sysadmin


Re: Defensive typing

I tend to put "echo " in front of any dodgy command.

rm -rf $dir/


echo rm -rf $dir/

and you hopefully notice that $dir is empty. Thanks to NVidia for that one.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019