You may run into the case of purging a system and removing sensitive data, e.g.
when transferring VM ownership. There are multiple steps with shell history,
configuration, home directories and stateful/log data.
Delete shell history
rm $HOME/.bash_history
history -cw
Configuration and Home Directories
In the best