Hello, Im studying for the CKA test and a little confused about the
sudo command as Im normally a windows user and have not seen it on any of the practice quizes, but have seen a few comments about it in the channels.
sudo gives elevated privileges,
What I dont understand is:
Do you need to write
sudo in front of each command or does it “stick” meaning all commands afterwards get
Also, what is
sudo -i ? and how does it differ from just plain
sudo and when would I user one over the other?
Thanks in advance.