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

  • (A) whoami
  • (B) id
  • (C) username
  • (D) users
πŸ’¬ Discuss
βœ… Correct Answer: (A) whoami
Explanation: 'whoami' prints the current logged-in username.
Explanation by: Mr. Dubey
'whoami' prints the current logged-in username.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
89
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate