Sudo gpt destroy disk0 command not found?
My Mac Pro 5,1 had been doing fine until a few days ago when I power it up to get to the boot/home screen it does one of a number of things…it either just brings up the dock with no file folders on the screen and a hung mouse, it does bring up the folders, but the mouse goes into the spinning wheel of death, or I get just the dock and the mouse moves around for a bit but can’t click on anything then hangs up….after trying the usual fixes (including installing the Mojave OS again but leaving everything intact) I’m basically at the point where I figure I have to wipe everything clean and do a fresh install using my bootable Mojave usb. Problem is, when I’ve booted into the usb and use the terminal command ‘sudo gpt destroy disk0’ it comes back with ‘command not found’?? Does anyone know why this may be happening and how to get it to work? Thanks in advance for your help!
Mac Pro, macOS 10.14