Sudo lets you run any terminal command as another user — hence "substitute user" — but the default and most common use for it ...
Save the file by hitting Ctrl+O, then quit nano with Ctrl+X. Close the terminal window. (You can type the command exit to do ...