Exit the nano terminal editor?

Answered
nick asked this question 1 month 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 25 days ago

control + c

0 replies
coderguy 9 days ago

To close your nano editor: ctrl+x.

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

0 replies
Answered