xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

Linux exit nano editor All In One

Linux exit nano editor All In One

macOS

$ nano ./env.js

# exit 
$ Control + X

# not save
$ n

n 不保存修改

y 保存修改,Enter 退出

修改文件名,会自动创建一个新的文件副本,保存修改的内容,原文件不会被修改掉;

^X means Ctrl + X

for macOS ^X means Contrl + X


the carrot ^ symbol in nano represents the use of the Ctrl key. 
If you are looking for how to exit or quit Nano then, you will press ‘Ctrl + x’ keys with the combination. 

While working on nano, you will press F2 or ^X means Ctrl + X to exit from the current buffer or quit nano. 
After that, you will be prompted to save the current file press ‘y’ and if you don’t want to make any changes then press ‘n’. 

You can also press Ctrl+o to save this file. Then, you need to enter the file name that you want to keep.

refs

https://linuxhint.com/quit_nano/



©xgqfrms 2012-2020

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @   xgqfrms  阅读(46)  评论(1编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
历史上的今天:
2021-08-08 vue 组件 mounted 多次 bug All In One
2021-08-08 HTML5 img srcset All In One
2020-08-08 树莓派 4B 入门教程 All In One
2020-08-08 如何在 macOS 上搭建 PHP 开发环境 All In One
2019-08-08 Flutter & Navigate & router
2019-08-08 javascript copy to system clipboard
2019-08-08 css selector sibling
点击右上角即可分享
微信分享提示