

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Users
incomplete
2: Whoami and sudo
incomplete
3: Permissions
incomplete
4: Changing Permissions
incomplete
5: Making a Script Executable
incomplete
6: Root User
incomplete
7: Chown
incomplete
8: Using sudo
incomplete
This lesson's interactive features are locked, please to keep using them
The whoami command prints the user you're currently logged in as. When you run a command with sudo, it runs as the root superuser instead.
whoami
sudo whoami
On some Linux systems your user might not be configured for sudo access by default. If sudo whoami fails with a permission or authentication error, your account may not have superuser privileges.
If you're using WSL, make sure to use the password you set for your Linux distribution, not your Windows password.
Copy and paste the output of the last command into the input box and submit your answer.