Hacker News new | ask | show | jobs
by todd3834 894 days ago
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.
4 comments

I tend to write scripts or docs when things are annoying and hard to remember. shell history is usually littered with sensitive stuff, I usually go way out of my way to prevent my machines from saving any of it, but to each their own.
> shell history is usually littered with sensitive stuff

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

I use [Shuttle](https://fitztrev.github.io/shuttle/) for that ssh issue which often comes in handy. Should solve for most of those CLI command issues.
True I use mcfly[1] works pretty smoothly for me

[1] https://github.com/cantino/mcfly

I've tried to move all of my kubectl workflow into k9s, the CLI is just way too verbose.