Name: cat Permissions: all users

Using Methods: cat [-AbeEnstTuv] [--help] [--version] filename

Instruction: Put the files on it to connect basic output (screen or > fileName to another file)

Parameters:

-n or --number from 1 for all of the input rows number;

-b or --number-nonblank and -n are similar, but the blank line without number;

-s or --squeeze-blank when there is a blank line more than two lines of continuous, as substitution for a blank line;

-v or –show-nonprinting.

Examples:

cat -n textfile1 > textfile2 (input the contents file of the textfile1 with line numbers to the textfile2.)

cat -b textfile1 textfile2 > > textfile3 (Add the content files from textfile1 and textfile2 to the textfile3 after added the line number while the blank lines in them will not be added the line number.)

In the Linux system  the flipbook software can be easily used to make digital books with page flip effect and view on Mac.





Leave a Reply.