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

italian
Muhammad Falak R Wani 2018-10-09 21:53:43 +05:30 committed by GitHub
parent 63e8a3b7c4
commit 1fb034577d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -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`