When you execute commands with sensitive data.
```
set +o history
# your commands
set -o history
```
#linux #bash

@andros Neat. What I do is put a leading space before the command, like ` echo 'secret sauce' >> .secretsaucedb`. Works on most shells and shell configurations, though I haven't always found it enabled so I might do ` echo test` first and then hit the up arrow to see if it was remembered.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml