Browse Source

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

Muhammad Falak R Wani 6 năm trước cách đây
mục cha
commit
1fb034577d
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  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`