[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: To escape saving double commands in shell command history.



Thank You for Your time and answer, Raf:

>> I try to escaping saving double commands in shell command history.
>
>The subject is somewhat confusing - escaping in regards to shell
>usually means something else :^)

Ahh. Seems alright to me. :o)

>> HISTCONTROL=ignoreboth
>
>Have you put the second line into your .bashrc file?

I made it through

.bash_login

file this way:

export HISTCONTROL=ignoreboth

and it has other lines behind, therefore, yes. AFAIK if env shows the
desired variable set as wanted, then, syntax does not matter - it is
on already. 


Reply to: