I’m reading out of a book to learn about networking and I ran the following command:
ip link set ens3 down
I didn’t think that through, I believe this turned off my ip network, so I couldn’t access the instance using SSH console to turn it back on again? When I tried getting into the shell, it’s just a blank page.
I think Dreamhost automatically brought back the ip network access again a few minutes later. In case this didn’t happen, how would I turn the network back up again remotely if it ever shuts down (
ip link set ens3 up)?