Linux · Stage 0 – Before You Touch the Terminal · Lesson 6 of 51

Opening the Terminal and whoami

Open Ubuntu’s terminal and run one safe command that displays your current username.

In Ubuntu, open the app grid from the dock, type Terminal into search, and select the Terminal icon. The keyboard shortcut Ctrl + Alt + T also opens it.

Click inside the terminal, type this command, and press Enter:

Command

whoami
Piece-by-piece explanation
  1. whoami is the complete command name. Read it as “who am I?”
  2. It needs no options or extra information.
  3. Press Enter to ask Linux to run it.
Expected output
maya

Your output will be the username you created during Ubuntu installation, not necessarily maya.

After the result, the prompt appears again. That means the command finished and the terminal is ready.