Exit the nano terminal editor?

Answered
nick asked this question 5 months ago
nick on Jul 5

How do I exit the nano editor that's used to make changes to files via the command line/terminal?

There's a series of shortcut commands that should do this, but I can't seem to figure it out.

Ideally, I'd like to save and then close the file.

2 suggested answers
rsingh on Jul 21

control + c

0 replies
coderguy on Aug 6

To close your nano editor: ctrl+x.

To save and then close: ctrl + x, then y, then enter.

0 replies
Answered