Ver Fonte

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

Muhammad Falak R Wani há 6 anos atrás
pai
commit
1fb034577d
1 ficheiros alterados com 6 adições e 2 exclusões
  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`