Bird
0
0

Why does nano not support a traditional undo (Ctrl + Z) command like some other editors?

hard📝 Conceptual Q10 of 15
Linux CLI - Viewing and Editing Files
Why does nano not support a traditional undo (Ctrl + Z) command like some other editors?
ABecause nano automatically saves changes
BBecause nano uses Ctrl + Y for undo instead
CBecause nano does not allow editing after saving
DBecause Ctrl + Z suspends the terminal process instead
Step-by-Step Solution
Solution:
  1. Step 1: Understand Ctrl + Z behavior in terminal

    Ctrl + Z suspends the running process in the terminal, not undo.
  2. Step 2: Check nano undo support

    Nano does not have a built-in undo command; Ctrl + Y scrolls down, not undo.
  3. Step 3: Verify other options

    Auto-saving is false, editing allowed after saving, Ctrl + Y is not undo.
  4. Final Answer:

    Because Ctrl + Z suspends the terminal process instead -> Option D
  5. Quick Check:

    Ctrl + Z suspends, no undo in nano [OK]
Quick Trick: Ctrl + Z suspends terminal, not undo in nano [OK]
Common Mistakes:
MISTAKES
  • Expecting Ctrl+Z to undo
  • Thinking nano auto-saves
  • Confusing Ctrl+Y with undo

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes