mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 16:44:56 +02:00
11 lines
196 B
Markdown
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`
|