(#zzyjqvq) Then I cleaned up my shell history of all of the invocations I ever made of dkv rm ... to make sure I never ever have this so easil โ€ฆ
Then I cleaned up my shell history of all of the invocations I ever made of dkv rm ... to make sure I never ever have this so easily accessible in my shell history ( ^R):

โ€`
$ awk โ€˜
/^#/ { ts = $0; next }
/^dkv rm/ { next }
{ if (ts) print ts; ts=โ€œโ€; print }
โ€™ ~/.bash_history > ~/.bash_history.tmp && mv ~/.bash_history.tmp ~/.bash_history && history -r

โ€` โŒ˜ Read more

โค‹ Read More