← All hands-on practice
Linux · 4 min
Who is logged in
Before you change a file, check which account this prompt is using.
Start it: free, in your browser, no account
What you will do
- Print the name of the account you are using.
A simulated Ubuntu-style shell. whoami prints the name only. It does not list groups.