Nano A simple text editor without fancy and gorgeous effects

Source: Internet
Author: User
Keywords Nano text editor text meanwhile provides
Tags aliyun client control editor editors file files how to

The Nano is a simple http://www.aliyun.com/zixun/aggregation/18444.html "> text editor with no fancy and gorgeous effects." The Nano is almost identical to the text editor Pico (pine Mail client). The Nano is pretty good when it comes to editing simple text files. But don't want to use it for complex editorial work. Other editors such as "Emacs", "Vim," and "gedit" all offer more advanced features such as text coloring and automatic text formatting, whereas the Nano is only the most basic editing operation.

How to run the Nano

Start a regular nano session

bash:~$ nano-w < filename >

This will open the < filename > the file you are referring to and enter the edit state. You can create a new file or edit a file that already exists. The '-w ' argument is used to suppress text wrapping. Text wrapping can cause certain problems when you open some special-form files.

How to use the Nano

Press the CTRL key while pressing the following key. For example, </sup>x (exit) means that you press the CTRL key while pressing the X key. To know more about the Nano shortcuts, you can tap Control-g to the information. In the Help screen, M-Display in front of a character means that the following key is pressed while the META key or the ALT key is pressed. Like m (providing mouse support), press the M key when pressing Alt. Some of the more bizarre shortcuts used by the Nano are:

Writeout (Control-o)-Save
Cur Pos (control-c)-tells you what lines and letter the cursor are on tells you which line of the cursor is in which position
Read file (control-r)-Inserts the contents of another file inserts the contents of other files
Pressing ALT-F after the control-r behaves ethically like a open command in the other text editors
where is (control-w)-searches for some text in the file find text in Files

Help is a great way to explain the many uses. Please press CTRL-G to read.

Nano Homepage: http://www.nano-editor.org/
Nano Use manual: Http://www.nano-editor.org/dist/v2.2/nano.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.