Linux command for viewing and creating files

Source: Internet
Author: User
Linux command for viewing and creating files Linux code cat/test/first.txt?file linuxcode cat&gt=second.txt Helloeveryone! & Gt;: indicates that after entering the content of the last line, you need to convert the Enter key to the line. Otherwise, the last line cannot display the Linux code cat... linux command to view and create a file cat/test/first.txt Linux code to view the file cat> second.txt Hello everyone! >: Indicates that after entering the last line of content, you need to convert the Enter key to a line, otherwise, the last line cannot display the Linux code cat-B/test/first.txt. each non-empty line is numbered with the Linux code cat first.txt second.txt third.txt and multiple files are displayed simultaneously. The Linux code cat first.txt second.txt third.txt> new.txt combines multiple files into one file. The Linux code is more + 3 new.txt "+ number of rows ": show Linux code more +/do new.txt "+/string" starting from this line: displays Linux code less new.txt online instructions by H, and press Q to exit

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.