3 ms·
Tip: if you prefix your command by a space in bash (and maybe other shells) that command doesn't get recorded in history.
by forty 6y ago
Tip: if you prefix your command by a space in bash (and maybe other shells) that command doesn't get recorded in history.
- visualphoenix 6y agoDon’t go doing this and expecting it’s the default behavior. It’s not. Your bash session must have set, at minimum: HISTCONTROL=“ignorespace”
- R0b0t1 6y agoIssue is /proc/$pid/environ if enabled. Envvars are visible just like args. I think there are other ways to recover if on same uid.