Kolam Ayer MakersLinux Foundations

File Editing

Core Idea

Editing changes file contents through a text editor.

The habit is simple:

  1. Open the exact path.
  2. Make the change.
  3. Save.
  4. Quit.
  5. Verify with cat or another reader.

Practice Alone

mkdir -p ~/playground
micro ~/playground/editing-note.txt
cat ~/playground/editing-note.txt

Make one small edit, save, quit, then verify from the shell. The shell verification matters because it proves the file changed on disk, not only inside the editor screen.

Watch Out

Done When

You can edit a named file, save it, quit the editor, and prove the content with cat.

Docs Pointers