You're viewing a comment by chmurli and its responses.

chmurli Permalink
October 14, 2012, 10:02

By default commands started with space will be recorded to history.
In order to change it you have to configure it by:
export HISTCONTROL="ignorespace"

Comment Responses

October 15, 2012, 18:38

Nice tip.

You can also do the same by doing:

export HISTIGNORE="[ ]*"

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "sandbox": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.