Hacker News new | ask | show | jobs
by ikitat 5748 days ago
find ...

!! -delete

1 comments

Ah, didn't know about that one. Thanx.

(But it still doesn't address the main issue.)

HISTCONTROL="ignorespace"

now you can keep a given command from history

find ...

<space>!! -delete

That's a nice feature.

Now it remains to be seen whether I can train myself to always precede "unsafe" find commands with a blank.