1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/whoami.md

13 lines
265 B
Markdown
Raw Normal View History

2015-12-23 14:45:11 +02:00
# whoami
> Print the username associated with the current effective user ID.
> More information: <https://www.gnu.org/software/coreutils/whoami>.
2015-12-23 14:45:11 +02:00
- Display currently logged username:
2015-12-23 14:45:11 +02:00
`whoami`
- Display the username after a change in the user ID:
`sudo whoami`