In this tutorial we will learn how to use whoami command in Linux. whoami is a command which the user name associated with the current effective user ID. This command similar to running id command with -un option.
In this tutorial we learn how to use whoami command in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.