I'm in safe boot/safe mode and I' trying to reinstall the OS (operating system) since somehow while updating the OS the internet disconnect as well. I only have a few access to things like terminal.
note this is the reason why my mac's os broke in the first place.