mirror of https://github.com/CrimsonTome/tldr.git
whoami: clarify description and add sudo example (#2419)
parent
63e8a3b7c4
commit
1fb034577d
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue