Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: