Editing My First File in Nano
After using Vim, I tried Nano, and the difference was immediate: I could just start typing.
What I did:
Opened Nano with
nano notes.txtTyped three lines of text straight away
Saved with
Ctrl + Oand confirmed the file name with EnterExited with
Ctrl + XRan
cat notes.txtto confirm the content was saved (screenshot attached below)
Nano vs. a graphical editor (like Notepad or VS Code):
Nano feels much closer to a graphical editor than Vim does. There are no modes, so typing works immediately, and the most useful shortcuts are listed at the bottom of the screen, so I didn’t have to memorize anything. The main differences are that everything is keyboard-driven (no mouse menus, no clicking Save), and there are fewer conveniences like tabs, syntax highlighting by default, or a built-in file explorer. A graphical editor is more comfortable for big projects, but Nano is faster for a quick config or note, especially over SSH where no GUI exists.
What I learned:
I learned that ^ in Nano’s shortcut bar means the Ctrl key, that Ctrl + O saves without closing, and that Ctrl + X exits (and asks to save if you forgot). Nano is the friendlier choice for beginners, while Vim is more powerful once you learn its modes.
Which do you prefer for quick edits, Nano, Vim, or a graphical editor? Tell me in the comments!