mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
12 lines
265 B
Markdown
12 lines
265 B
Markdown
# whoami
|
|
|
|
> Print the username associated with the current effective user ID.
|
|
> More information: <https://www.gnu.org/software/coreutils/whoami>.
|
|
|
|
- Display currently logged username:
|
|
|
|
`whoami`
|
|
|
|
- Display the username after a change in the user ID:
|
|
|
|
`sudo whoami`
|