Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 21, 2022 05:52 pm GMT

Cats - Meow!

The cat (Felis catus) is a domestic species of a small carnivorous mammal.

And is also a standard Unix utility, yay!

Cat is used to read files sequentially, writing them to standard output.

Open your terminal; use touch to create a file:
$ touch file

$ echo "Hello World" >> file

Prints "Hello world"
$ cat file

Copy the file contents:

$ touch file2

$ cat file >> file2

Prints "Hello world"
$ cat file2

Concatenate multiple files:
$ touch file3

$ cat file file2 >> file3


Original Link: https://dev.to/tommyy/cats-meow-1e6e

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To