Avoid Linux Shell LoggingBy Dag, on December 22nd, 2016
- Delete existing history file (if needed, multiple logins).
- Reset system variables to prevent new file for current login.
- Clear history for current session that would be logged.
- Log out.
> rm -rf .bash_history
> export HISTFILESIZE=0
> export HISTSIZE=0
> unset HISTFILE
> history -c