Kaynağa Gözat

whoami: clarify description and add sudo example (#2419)

Muhammad Falak R Wani 6 yıl önce
ebeveyn
işleme
1fb034577d
1 değiştirilmiş dosya ile 6 ekleme ve 2 silme
  1. 6 2
      pages/common/whoami.md

+ 6 - 2
pages/common/whoami.md

@@ -1,7 +1,11 @@
 # whoami
 
-> Show the username of the current user.
+> Print the username associated with the current effective user ID.
 
-- Display currently logged user name:
+- Display currently logged username:
 
 `whoami`
+
+- Display the username after a change in the user ID:
+
+`sudo whoami`