1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 12:44:55 +02:00
tldr/pages/common/whoami.md
2018-10-09 21:53:43 +05:30

11 lines
196 B
Markdown

# whoami
> Print the username associated with the current effective user ID.
- Display currently logged username:
`whoami`
- Display the username after a change in the user ID:
`sudo whoami`