Add sudo to the shell commands

..so that they can be readily pasted
please add the `if you don't use sudo, be sure to switch to root` here as well.