$
Learn Linux handbook
en
XP:0
Quest 1Explorer
+100 XP

Who Am I and Where Am I?

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

Imagine walking into a massive, dark library with millions of books, but you have no map, and you can't even remember your own name tag. Before you can look up anything, you need to know who you are and where you are standing. In the Linux shell, we start with the exact same questions!

- The whoami command prints the username you are currently logged in as.
- The pwd (print working directory) command acts like a GPS, showing you the exact folder path where you are currently standing.

Let's find our bearings! First, run whoami to see your active username, and then run pwd to print your current folder location in the filesystem.

Command Syntax Reference

Command / SyntaxDescription
whoamiPrints active username
pwdPrints current working directory

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Run the "whoami" command
  • ○
    Run the "pwd" command

Ready to complete Quest 1?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.