A

Admin • 802.91K Points
Coach

Q. Which command is used to display the current user's username in Linux?

  • (A) whoami
  • (B) id
  • (C) who
  • (D) users
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category Linux
  • Hashtags:

Explanation by: Admin
'whoami' prints the current user's login name.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.