For real, this is one of the things that LLMs are unconditionally great at doing. They are like lossy compression algorithms that store Stack Overflow threads and retrieve manual pages. Or, with a fair probability of success, you can ask them to write the command.
[0] - https://llm.datasette.io
[1] - https://docs.github.com/en/copilot/using-github-copilot/usin...