Prechádzať zdrojové kódy

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

Muhammad Falak R Wani 6 rokov pred
rodič
commit
1fb034577d
1 zmenil súbory, kde vykonal 6 pridanie a 2 odobranie
  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`