3 ms·
Use the `read` method the other poster said, or ensure HISTCONTROL is set and then prepend a space to commands that contain secrets. $ export HISTCONTROL=ign
by mmh0000 2y ago
Use the `read` method the other poster said, or ensure HISTCONTROL is set and then prepend a space to commands that contain secrets.
$ export HISTCONTROL=ignoreboth
$ echo 'supersecret' | whatever