Tag
© 2026 Hashnode
Sometimes when you have to check functioning of service or troubleshoot connection of apps in Development or Test environments, you need to SSH into server and run commands with sensitive data. For example you may run the application’s docker contain...

I usually don't want my secrets to show up in my bash history in the $HOME/.bash_history file. Long ago, folks told me that using a trailing space will solve this issue, but it didn't. Apparently, there's some extra stuff to do Just do HISTCONTROL=ig...
