glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen: add Chinese translation (#14628)
* Add Chinese translations for glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen.
* Improvement to the Chinese translation for screen.
* Fix formatting issues in glances, pm2, and neofetch Chinese versions
* Update nano and screen Chinese pages to match English page.
* Update pages.zh/common/screen.md
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* Update pages.zh/common/nano.md
Ensure the format is the same as the English version
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* glances, nano: Ensure Chinese version matches English format
* nano: Chinese translation correction
* nano: Second revision of Chinese translation, fixing all missing backticks.
* nano: Handle missing quotation marks in Chinese translation
* Update pages.zh/common/neofetch.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/ifconfig.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/glances.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/glances.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update neofetch.md
* Update neofetch.md
---------
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2024-11-06 03:43:50 -05:00
|
|
|
# nano
|
|
|
|
|
|
|
|
> 命令行文本编辑器。一个功能更强的 `Pico` 克隆版。
|
|
|
|
> 更多信息:<https://nano-editor.org>.
|
|
|
|
|
|
|
|
- 启动编辑器:
|
|
|
|
|
|
|
|
`nano`
|
|
|
|
|
|
|
|
- 启动编辑器且不使用配置文件:
|
|
|
|
|
2025-03-19 00:36:34 +02:00
|
|
|
`nano {{[-I|--ignorercfiles]}}`
|
glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen: add Chinese translation (#14628)
* Add Chinese translations for glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen.
* Improvement to the Chinese translation for screen.
* Fix formatting issues in glances, pm2, and neofetch Chinese versions
* Update nano and screen Chinese pages to match English page.
* Update pages.zh/common/screen.md
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* Update pages.zh/common/nano.md
Ensure the format is the same as the English version
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* glances, nano: Ensure Chinese version matches English format
* nano: Chinese translation correction
* nano: Second revision of Chinese translation, fixing all missing backticks.
* nano: Handle missing quotation marks in Chinese translation
* Update pages.zh/common/neofetch.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/ifconfig.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/glances.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/glances.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update neofetch.md
* Update neofetch.md
---------
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2024-11-06 03:43:50 -05:00
|
|
|
|
|
|
|
- 打开指定文件,在关闭前一个文件后移动到下一个文件:
|
|
|
|
|
|
|
|
`nano {{路径/到/文件1 路径/到/文件2 ...}}`
|
|
|
|
|
|
|
|
- 打开文件并将光标定位到指定行和列:
|
|
|
|
|
|
|
|
`nano +{{行号}},{{列号}} {{路径/到/文件}}`
|
|
|
|
|
|
|
|
- 打开文件并启用软换行:
|
|
|
|
|
2025-03-19 00:36:34 +02:00
|
|
|
`nano {{[-S|--softwrap]}} {{路径/到/文件}}`
|
glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen: add Chinese translation (#14628)
* Add Chinese translations for glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen.
* Improvement to the Chinese translation for screen.
* Fix formatting issues in glances, pm2, and neofetch Chinese versions
* Update nano and screen Chinese pages to match English page.
* Update pages.zh/common/screen.md
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* Update pages.zh/common/nano.md
Ensure the format is the same as the English version
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* glances, nano: Ensure Chinese version matches English format
* nano: Chinese translation correction
* nano: Second revision of Chinese translation, fixing all missing backticks.
* nano: Handle missing quotation marks in Chinese translation
* Update pages.zh/common/neofetch.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/ifconfig.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/glances.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/glances.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update neofetch.md
* Update neofetch.md
---------
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2024-11-06 03:43:50 -05:00
|
|
|
|
|
|
|
- 打开文件并使新行缩进对齐到上一行:
|
|
|
|
|
2025-03-19 00:36:34 +02:00
|
|
|
`nano {{[-i|--autoindent]}} {{路径/到/文件}}`
|
glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen: add Chinese translation (#14628)
* Add Chinese translations for glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen.
* Improvement to the Chinese translation for screen.
* Fix formatting issues in glances, pm2, and neofetch Chinese versions
* Update nano and screen Chinese pages to match English page.
* Update pages.zh/common/screen.md
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* Update pages.zh/common/nano.md
Ensure the format is the same as the English version
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* glances, nano: Ensure Chinese version matches English format
* nano: Chinese translation correction
* nano: Second revision of Chinese translation, fixing all missing backticks.
* nano: Handle missing quotation marks in Chinese translation
* Update pages.zh/common/neofetch.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/ifconfig.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/glances.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update pages.zh/common/glances.md
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
* Update neofetch.md
* Update neofetch.md
---------
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2024-11-06 03:43:50 -05:00
|
|
|
|
|
|
|
- 打开文件并在保存时创建备份文件(如 `路径/到/文件~`):
|
|
|
|
|
2025-03-19 00:36:34 +02:00
|
|
|
`nano {{[-B|--backup]}} {{路径/到/文件}}`
|
2025-03-26 12:38:15 +08:00
|
|
|
|
|
|
|
- 退出 nano:
|
|
|
|
|
|
|
|
`<Ctrl x>`
|