Mission 1 of 30

Fundamental Navigation

Confirm exactly where you are and inventory a new workspace.

Start gently: learn where you are, what is around you, and how Linux lists files.

25–35 min Week 1 · Terminal basics Ubuntu terminal
Your outcome: The terminal stops feeling like a blank scary box and starts feeling like a file explorer with words.
Practice inside ~/linux-practice. Check your setup before you begin.

What you’ll practice

  • Use pwd to identify your location
  • Use ls variations to inspect folders
  • Recognize hidden files and long listings

The mental model

  • Linux has a single filesystem tree starting at /.
  • Your home folder is written as ~.
  • Before running commands, pwd is your safety seatbelt.

Try it in your terminal

Where am I?

Safe in practice folder

Prints your current folder.

Run from ~/linux-practice

pwd

Identify your Linux environment

Read-only system view

Shows the kernel, architecture, distribution details, and (when applicable) the WSL distribution name. These checks are safe on Ubuntu, most Linux distributions, and WSL.

Run from anywhere

uname -srmo
cat /etc/os-release
if [ -n "$WSL_DISTRO_NAME" ]; then echo "WSL distro: $WSL_DISTRO_NAME"; fi

List files

Safe in practice folder

Shows files in normal, detailed, hidden, human-readable, and time-sorted views.

Run from ~/linux-practice

ls
ls -l
ls -la
ls -lh
ls -ltr

Create first practice items

Safe in practice folder

Creates harmless files and a folder inside the sandbox.

Run from ~/linux-practice

touch file1.txt file2.txt file3.txt
mkdir testdir
ls -la

Put it into practice

  1. Run the setup command first.
  2. Identify your distribution and whether you are using WSL.
  3. Create three files and one folder.
  4. Compare ls, ls -l, and ls -la output.

Check your result

pwd ends in linux-practice and ls -la shows the workspace contents.

Common mistakes

  • You create a file, then panic because you can't find it. Run `pwd` first. Always. It's the terminal equivalent of checking your rearview mirror before changing lanes.
  • You see a .bashrc file and wonder if it's something dangerous. It's not. Hidden files are just names starting with a dot. Linux uses the dot to keep them out of your way during a normal `ls`.

Check your understanding

Explain these in your own words. If you’re unsure, revisit the examples before moving on.

  1. What command confirms your current folder?
  2. What does ls -a show that ls hides?

Your practice, your pace

Loading saved progress…

Discussion

Continue the conversation about this guide. Loading comments connects to GitHub Discussions through giscus.

Open community discussions on GitHub

Check before you copy

This command needs care. Read its context, confirm the target and location, and keep a recovery path.

Copying does not run a command.