To use the whoami command, simply open your terminal and type the following command:
whoami
Then press Enter. The terminal will display the username of the currently logged-in user. There are no additional options or arguments needed for this command; it is straightforward and provides immediate feedback on the active user account.
