nano - Simple Text Editor in Linux
From the Linux Essential Commands cheat sheet · File Viewing & Editing · verified Jul 2026
nano - Simple Text Editor
User-friendly terminal text editor for beginners
bash
# Edit file
nano file.txt
# Key shortcuts:
# Ctrl+O - Save file
# Ctrl+X - Exit
# Ctrl+K - Cut line
# Ctrl+U - Paste line
# Ctrl+W - Search
# Ctrl+G - Help✅ Easiest terminal editor for beginners
💡 Shows keyboard shortcuts at bottom of screen
🔍 Use Ctrl+O to save and Ctrl+X to exit
editortextbeginner