Bird
0
0

What will happen if you press Ctrl + O inside nano?

medium📝 Command Output Q4 of 15
Linux CLI - Viewing and Editing Files
What will happen if you press Ctrl + O inside nano?
AIt exits nano without saving
BIt saves the current file
CIt opens a new file
DIt cuts the current line
Step-by-Step Solution
Solution:
  1. Step 1: Understand Ctrl + O function

    Ctrl + O writes (saves) the current contents to the file.
  2. Step 2: Verify other options

    Exiting without saving is Ctrl + X then 'N', opening new file requires command line, cutting line is Ctrl + K.
  3. Final Answer:

    It saves the current file -> Option B
  4. Quick Check:

    Ctrl + O = Save file [OK]
Quick Trick: Save file anytime with Ctrl + O [OK]
Common Mistakes:
  • Confusing save with exit
  • Thinking Ctrl+O opens files
  • Mixing cut line with save

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes