Linux & the Command Line / Users and permissions
Lesson 10 of 30
sudo
sudo runs one command as root. It asks for your password and logs what you did, which is safer than staying logged in as root.
Key points
- sudo command
- Only users in the sudo group can use it
- Think twice before sudo rm
sudo apt updateQuiz · +10 XP
What does sudo do?
Log in to save progress and earn XP.