Here are some of my often use cases: Long kunernetes commands, or ssh into an ip you don’t have remembered, curl commands when testing an api. Anything on the CLI that is long and either hard to remember or just annoying to type.
Atuin is trying to solve this one too :)
By default it won't save history containing AWS credentials, slack credentials, etc. The list of things to ignore is configurable with regex
While it's not difficult to avoid putting credentials into your shell, ik most people will just paste things in that perhaps they should not