Mission 63

Nano replace review

Start with redirected text, then review it in nano.

Nano and editing
8 minutes Admin Lesson 63 of 360
echonanocat
Lesson 63 of 360 0/360 lessons 0/17 missions Nano and editing · 8 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 8 minutes

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

Write first line

Run echo first > lab/change.txt.

echo first > lab/change.txt
Open change file

Run nano lab/change.txt.

nano lab/change.txt
Read change file

Run cat lab/change.txt.

cat lab/change.txt
Lesson support

What to notice while you play.

Objective

Combine redirection, editing, and verification.

Hint

Write first, open nano, then cat.

Why it matters

A quick review loop prevents stale notes.

Common mistakes
  • Assuming a save happened without reading the file.
  • Overwriting the wrong file.
Reference

Commands in this lesson.

echo <text>

Print text or write lab notes with >.

nano <file>

Open a simulated nano editor.

cat <file>

Print text file contents.