If you copy those commands into a file and use that file to prompt the “sh” LLM.

That works until you need a small variation of any of these commands and you’re lost.