Linux under nano command use guide __linux

Source: Internet
Author: User
Original address: https://www.cnblogs.com/wuxiang/p/6019509.html
1. When to use the nano.   The general network is very card, ssh when a vim/vi on the dead window, or the condition of the crash 2. How to use. Open or create a new file #nano file name disables wrapping #nano-W/etc/fstab Save changes Ctrl+o exit, press Ctrl+x If you have not modified and accidentally pressed the save key, you can press C when you request a confirmation file name Trl+c Cancel to cut a whole line, paste ctrl+u with Ctrl+k If you want to use more precise clipping control, you need to mark the text. Move the cursor to the beginning of the text you want to cut, and press ctrl+6 (or alt+a). Then move the cursor to the end of the text to be clipped: The marked text is reversed. To undo a text marker, simply press the ctrl+6 again.   Use Ctrl+k to cut the marked text and paste it with ctrl+u. Search for specific text when you want to search for a specific text, just think of it as "Where is" rather than "search", and it's easy. Just press Ctrl+w, type the string you want to search for, and then press ENTER.   To search for the same string again, you can press alt+w directly. Note: In the Nano help document, Ctrl-key is represented as a caret (^), so Ctrl+w is written as a ^w, and so on. The alt-key is represented as a m (from "Meta"), so Alt+w is written as m-w.

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.