Avoid Linux Shell Logging
Pseudo actions:
- 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.
Commands:
> rm -rf .bash_history
> export HISTFILESIZE=0
> export HISTSIZE=0
> unset HISTFILE
> history -c
> logout