Y
Hacker News
new
|
ask
|
show
|
jobs
by
cocoto
80 days ago
Prepend your command with a space and now your command is not saved in the history.
1 comments
sltkr
80 days ago
That depends on the shell configuration.
On bash, you can achieve this by setting HISTCONTROL=ignorespace but that's not the default.
link
On bash, you can achieve this by setting HISTCONTROL=ignorespace but that's not the default.