# Editing in the Terminal: nano

nano is a text editor that runs inside the terminal, where you open a file with nano and its name, move with the arrow keys, save with Ctrl+O and quit with Ctrl+X; and if vim opens by accident, Esc and then :q! get you out.

![Cheat sheet for the lesson Editing in the Terminal: nano: nano is a text editor that runs inside the terminal, where you open a file with nano and its name, move with the arrow keys, save with Ctrl+O and quit with Ctrl+X; and if vim opens by accident, Esc and then :q! get you out.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/18091c426d8340148af0be2377e986a4.webp)

- Category: Bash
- Level: Novice
- Tags: configuration-file, linux, text-editor, unix
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/bash-editing-with-nano-cheat-sheet
