12 lines
196 B
Markdown
12 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`
|