An Interest In:
Web News this Week
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
March 21, 2022 05:52 pm GMT
Original Link: https://dev.to/tommyy/cats-meow-1e6e
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:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To