← Command encyclopedia

whoami

Print the current user name.

Executable in the CoreQ simulator

Syntax

whoami

Practise it now in the Linux sandbox. Type man whoami there for a quick summary.

Related commands

idgroupsgetentchmodchownchgrpsudouseradd