The Life Starter
0 of 6 complete0%
Course Library · Lesson 1 of 6
Digital · Guided lesson

Read your location before running commands

About 16 minutes · 6 reading + 10 practice and checks
Time includes reading, practice, and questions. Extra videos or further study are optional.
See this course’s project requirements

A repeatable Bash workflow with checked registration counts, a controlled rerun and clear handoff instructions.

Keep your working files in your own notebook or software. Save a private description, checklist, and work link in My Proof.

What to include

  • Location and path log.
  • Raw-row count with header handling.
  • Confirmed counts by session.
  • Reviewed script and dedicated output path.
  • Baseline/variation results and handoff.

Review and revise

Use these criteria to check your work and choose what to improve.

  • Paths and quoting are accurate.
  • Counts reconcile with the fixture.
  • Raw data is preserved.
  • Rerun and limitations are explained.
Open the full course project
Want more background?
Before you begin

The idea in everyday life

Summarize fictional workshop registrations using Bash and a small tab-separated file.

The idea

A terminal runs a named program with arguments from a current location.

Follow along

Read your location before running commands — guided practice

Identify the current directory and distinguish a command from its output.

Create an empty shell-lab folder. Inside it create input and output folders. Put registrations.tsv in input with these tab-separated rows and a final newline: session<TAB>status; art<TAB>confirmed; code<TAB>confirmed; art<TAB>waiting; code<TAB>confirmed; music<TAB>confirmed. Start the terminal in shell-lab. Bash required; no sudo, remote systems or deletion commands.

  1. 1. Inspect location

    Run pwd and note only the final folder name.

    pwd

    You should see: The final component is shell-lab.

    The same relative path means different things from different folders.

  2. 2. List names

    Run ls and compare the two names.

    ls

    You should see: input and output are listed.

    Listing is a read-only way to inspect before acting.

  3. 3. Inspect one folder

    Run ls input.

    ls input

    You should see: registrations.tsv is listed.

    An argument tells ls which folder to inspect.

  4. 4. Record syntax

    Write command=ls and argument=input in a note.

    You should see: The note separates the tool name from its target.

    This helps read unfamiliar command examples.

Now change one thing

For the exact command ls input, how many arguments follow ls?

Your work

What to finish

A three-command location log.

Common mistake

Watch for this

Copying a displayed prompt such as $ as part of the command.

How can I tell I understand it?

Complete the changed case, explain your result, and pass the three application checks.

Try 3 questions

Quick knowledge check

Answer all 3 questions. Get at least 2 right and the lesson completes automatically.

Not yet passed

You’ll get an explanation for each answer. Signed in? Your results save to your account.

1You are in lab and run ls input. What does input represent?
2Two terminals show different results for ls. What should you compare first?
3A tutorial shows $ pwd. Which text should you type?
0 of 3 answeredApply the lesson to a short question, then review the explanation.
1
Finish this lesson

Pass the check. We’ll save the progress.

Answer all 3 questions above and get at least 2 right. You can review the explanations and try again.

Go to the knowledge check
Optional course overview video
Missing SemesterLecture 1: Course Overview + The Shell (2020)YouTube
Optional course overview

Lecture 1: Course Overview + The Shell (2020)

From Missing Semester. Watch here or open it on YouTube .

Optional course overview. Follow the written steps below at your own pace.
Tools, templates, and lesson sources

Tools and templates

Tools open in a new tab so you can keep your place here.

Sources and further reading

Explore the references behind this lesson.

MIT Missing Semester: Course Overview and the Shell
Source & access notes · checked 2026-09-12

Opened and inspected on 2026-09-12: Arguments, paths and input/output.

Access: Free public web page; no paid enrollment required.

Reuse: CC BY-NC-SA; link only.

Software Carpentry: Navigating Files and Directories
Source & access notes · checked 2026-09-12

Opened and inspected on 2026-09-12: Working directory and relative paths.

Access: Free public web page; no paid enrollment required.

Reuse: CC BY 4.0 instruction; MIT examples. Independent fixture used.

Lecture 1: Course Overview + The Shell (2020)
Source & access notes · checked 2026-09-12

Metadata retrieved and inspected on 2026-09-12: exact title and channel confirmed through YouTube oEmbed. Playback and full video content were not tested. Optional overview; the written lesson and supplied practice stand alone.

Access: Free public web page; no paid enrollment required.

Reuse: Link or provider embed only; do not copy video, audio or transcript.

Report a problem with this lesson

Tell us what went wrong. Please leave out personal information and private project contents.

No sign-in needed.