Hacker News new | past | comments | ask | show | jobs | submit login

That, or use read:

  read password
  > secret-password-followed-by-enter-here
  sensitive-command --password $password
  unset password

edit: formatting



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: