Reply to post: Defensive typing

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

Will Godfrey Silver badge
Angel

Defensive typing

I've long been in the habit of entering dangerous commands partially in reverse, so in the case of theO/Ps one I've have done:

'-rf /*.old*'

then gone back top the start of the line and entered the 'rm' bit.

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