Multiple choice technology operating systems

Using which command you can see your user name?

  1. whoami

  2. pwd

  3. who

  4. uname

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

whoami displays the username of the currently logged-in user. pwd shows present working directory path, who lists all logged-in users, and uname displays system information (kernel name, version, etc.).