$_shellschool
LinuxWindowsLibraryCommandsTestsProgress
ES|EN…
home / commands / whoami

whoami

Linux · Users and permissions · available in the simulator

What it does

Print the current username.

Syntax

whoami

Usage examples

  • whoami

Notes and common mistakes

  • Print the username associated with the current effective user ID.
Practise whoami

Related commands

  • addgroup
  • adduser
  • chgrp
  • chmod
  • chown
  • delgroup
homecommandslibrarylinux terminalwindows terminaltests
shellschool · simulated terminal learning platform