3 ms·
You can tell your shell to ignore commands started with a space HISTCONTROL=ignorespace Or you can use HISTIGNORE to always ignore specific patterns.
by CraigJPerry 3y ago
You can tell your shell to ignore commands started with a space
HISTCONTROL=ignorespace
Or you can use HISTIGNORE to always ignore specific patterns.
- tandav 3y agoYou can also use HISTCONTROL=ignoreboth to use both ignorespace and ignoredups