I don't remember it asking for a password when I entered the commands so I don't think I used sudo. Would it do nothing, or complaint that I didn't have rights, if sudo was needed but forgotten?
You would normally get a permission denied kind of message, but it'll be application specific.
Unless sudo is a once-per-session thing, because I've a feeling I had used it earlier on.
Supplying the correct password for sudo opens a time window (by default 5 minutes) in which it won't ask you again. It's only within that terminal though.
You can close the window yourself with 'sudo -k'.