You can find out the username of the current user in Linux by using the whoami command in the terminal. Here’s how to do it:
Open the terminal.
Type the following command and press Enter:
whoami
This command will display the username of the currently logged-in user. For example, the output might look like this:
labex
