Linux commands: Cat

Source: Internet
Author: User

Full Name:concatenate files and print on the standard output

Purpose: The entire contents of the file are continuously output to the standard output (screen) from beginning to end

format:cat [OPTION] ... [FILE] ...

type:cat is hashed (/BIN/CAT)

Description

This command will output all the contents of the file, suitable for small files with less number of rows, and for large files with multiple lines of content, because there are too many rows to see the output.

-A,--show-all: equivalent to "-vet".

-B,--number-nonblank: The line is numbered when it is output, and the blank line is output but not numbered.

-E: Equivalent to "-ve".

-E,--show-ends: Add the $ symbol at the end of the output line.

-N,--number: All output lines are numbered, and blank lines are numbered.

-S,--squeeze-blank: A continuous empty line is more than or equal to two rows, compressed into a blank line output.

-T: equivalent to "-VT".

-T,--show-tabs: If there is a tab symbol in the file, it is denoted by "^i".

-V,--show-nonprinting:use ^ and m-notation, except for LFD and TAB.

Linux commands: Cat

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.