Multiple choice technology operating systems

returns your username

  1. whoru

  2. username

  3. whoami

  4. none

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

The whoami command in Linux/Unix displays the username of the currently logged-in user. It's a simple command that outputs the effective user ID of the person running it. The other options (whoru, username) are not standard Unix commands for this purpose.

AI explanation

The whoami command prints the username of the currently logged-in user in Unix/Linux and Windows command-line environments. There is no standard whoru or username command that serves this purpose on most systems.