Command: micro
Edit a text file.
micro ~/playground/micro-note.txt
Save before quitting. After editing, use cat to prove what the file contains.
Essential Keys
- Save:
Ctrl-S - Quit:
Ctrl-Q - Cut line:
Ctrl-K - Paste line:
Ctrl-U - Find text:
Ctrl-F
Safe Workflow
- Run
pwdif you are unsure where you are. - Open the exact path with
micro path/to/file. - Save with
Ctrl-S. - Quit with
Ctrl-Q. - Prove the file with
cat path/to/file.
Common Failures
- File opens empty: you may have opened a new path. Quit, run
lson the parent directory, and reopen the intended file. - Cannot save: check whether the directory exists and whether you own the file.
- Terminal looks strange after quitting: run
clear. - Edited generated HTML instead of Markdown source: reopen the matching file under
~/src/pages/, edit source, then runbuild-website.
Docs Pointers
- Run
tldr micro. - Read micro editor documentation.

Linux Foundations