whoami command

Type whoami to print the user name currently logged in to the terminal session:

Screen-Shot-2020-09-03-at-18.08.05

Note: this is different from the who am i command, which prints more information

Last updated

Was this helpful?