Y
Hacker News
new
|
ask
|
show
|
jobs
by
mmh0000
609 days 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