Save the terminal command history to the root file similar to the `~/.bash_history` / `~/.zsh_history` to keep the history track across sessions.
Save the terminal command history to the root file similar to the
~/.bash_history/~/.zsh_historyto keep the history track across sessions.