Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: