Mission 13

Editing with nano

Open the simulated nano editor, save a text file, and verify your change.

Nano and editing
10 minutes Beginner Lesson 13 of 360
nanocatstat
Lesson 13 of 360 0/360 lessons 0/17 missions Nano and editing · 10 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 10 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Create a lab folder

Run mkdir lab so the note has a safe sandbox folder.

mkdir lab
Open nano

Run nano lab/incident-notes.txt.

nano lab/incident-notes.txt
Verify the note

After saving, run cat lab/incident-notes.txt.

cat lab/incident-notes.txt
Inspect metadata

Run stat lab/incident-notes.txt.

stat lab/incident-notes.txt
Lesson support

What to notice while you play.

Objective

Edit a lab file, save it, and verify the saved content.

Hint

The nano panel is simulated, and the save writes to local browser state.

Why it matters

Reading back changes is a simple habit that prevents confusion.

Common mistakes
  • Forgetting to save before closing.
  • Editing a path whose parent folder does not exist.
Reference

Commands in this lesson.

nano <file>

Open a simulated nano editor.

cat <file>

Print text file contents.

stat <path>

Show lab file details.