top | item 46613642 (no title) 5d41402abc4b | 1 month ago >But wait – the token= command ends up in the history againIf you prepend your command with a space, it will not be added to your shell history. discuss order hn newest linuxhackerman|1 month ago As I mention in the post:>One way to avoid this is to prevent the command from being written to history. Bash has a configuration variable named HISTCONTROL, which when set to include ignorespace prevents commands prefixed with whitespace from being saved in history.
linuxhackerman|1 month ago As I mention in the post:>One way to avoid this is to prevent the command from being written to history. Bash has a configuration variable named HISTCONTROL, which when set to include ignorespace prevents commands prefixed with whitespace from being saved in history.
linuxhackerman|1 month ago
>One way to avoid this is to prevent the command from being written to history. Bash has a configuration variable named HISTCONTROL, which when set to include ignorespace prevents commands prefixed with whitespace from being saved in history.