Home  >  Q&A  >  body text

linux - How to exit nano command from command line

I accidentally entered the nano command, but I don’t know how to exit. I’m waiting online for help

˞͛ʕ̡̢̡๑꒪͒ꇴ꒪͒๑ʔ̢̡̢˞͛

迷茫迷茫2701 days ago1152

reply all(4)I'll reply

  • 为情所困

    为情所困2017-05-27 17:46:41

    Enter ctrl-x

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-27 17:46:41

    Input ctrl directly, then press the x key

    reply
    0
  • 黄舟

    黄舟2017-05-27 17:46:41

    At the beginning, you can see a line of white text at the bottom of the interface:
    ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
    ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

    Press ctrl+x at this time. If you have moved the above editing area, you will be prompted whether you want to save:
    Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?
    Y Yes
    N No ^C Cancel
    This Press N to exit.

    reply
    0
  • 黄舟

    黄舟2017-05-27 17:46:41

    I accidentally entered it wrong, please ignore this answer

    reply
    0
  • Cancelreply