I am a new Linux user, in fact I just got Linux about 2 hours ago, and I see that I don't have many permissions when executing commands in the terminal. Sometimes, I might try to install something or execute a command inside of the terminal (it can happen at any time), and it says "Permission Denied." Other times, it says, "Permission denied. Do you have root access?" or something along the lines of that. Is there any way to fix this? I can't seem to find any solutions online towards this problem, only people who make brand news accounts and they get root access. I can't even give permissions either.
Edit: I have figured it out and everything is back to normal. I can now run sudo commands and install applications and do everything else.