1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 20:02:09 +02:00
tldr/pages/common/whoami.md
2021-04-01 18:54:26 +03:00

265 B

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