Files
tldr/pages.zh/common/nano.md
Jin 236cafb0e1 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 00:43:50 -08:00

33 lines
761 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# nano
> 命令行文本编辑器。一个功能更强的 `Pico` 克隆版。
> 更多信息:<https://nano-editor.org>.
- 启动编辑器:
`nano`
- 启动编辑器且不使用配置文件:
`nano --ignorercfiles`
- 打开指定文件,在关闭前一个文件后移动到下一个文件:
`nano {{路径/到/文件1 路径/到/文件2 ...}}`
- 打开文件并将光标定位到指定行和列:
`nano +{{行号}},{{列号}} {{路径/到/文件}}`
- 打开文件并启用软换行:
`nano --softwrap {{路径/到/文件}}`
- 打开文件并使新行缩进对齐到上一行:
`nano --autoindent {{路径/到/文件}}`
- 打开文件并在保存时创建备份文件(如 `路径/到/文件~`
`nano --backup {{路径/到/文件}}`