Linux ed command and linuxed command

Source: Internet
Author: User

Linux ed command and linuxed command
$ Ed <-activate ed commandA <-tell ed that I want to edit the new fileMy name is Titan. <-enter the content of the first line.And I love Perl very much. <-enter the second line of content. <-Return the command line status of edI <-tell ed that I want to insert content before the last lineI am 24. <-insert "I am 24." between "My name is Titan." And "And I love Perl very much .". <-Return the command line status of edC <-tell ed that I want to replace the last input lineI am 24 years old. <-Replace "I am 24." with "I am 24 years old." (Note: The last input is replaced here). <-Return the command line status of edW readme. text <-name the file "readme. text" and save it. (Note: If you are editing an existing file, you only need to enter w)Q <-exit the ed editor completely

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.