linux why use sudo code example
Example 1: add sudo user ubuntu
# add a user and set a password
adduser USERNAME
# add user to sudoers / sudo groupe with command below
usermod -aG sudo USERNAME
Example 2: how does sudo command work
x = your new software
y = your password
sudo x
(Here a bunch of text will run on its own. Dont worry.)
y