Просмотр исходного кода

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

Muhammad Falak R Wani 6 лет назад
Родитель
Сommit
1fb034577d
1 измененных файлов с 6 добавлено и 2 удалено
  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`