Terminal returns command not found re: USB bootable drive MacOS
I am trying to create a bootable USB drive using the standard method suggested by Apple.
Terminal returns e.g. "sudo: /Applications/Install OS X El Capitan.app/Contents/Resources/createinstallmedia: command not found".
I say "e.g." because command will vary depending on which OS you want to use for the bootable USB.
I've checked the filename of the .app in Applications folder and it's identical to that in the sudo command (pasted-above).
I can't vouch for the contents ("Show Package Contents") but I suspect the issue is more with Terminal - or maybe the USB isn't formatted correctly (Disk Utility needed perhaps?).
I've installed XCode in some form (not visible as an app) to assist Terminal, and the sudo command on its own seems to work.
I'm running "Monterey 12.7.1" and "Intel Iris Graphics 6100 1536 MB", "2.7 GHz Dual-Core Intel Core i5".
Are you able to help, anyone?
Thanks