Cat Command

Reading time ~1 minute

Here is another Linux command that I want to remember; the cat command.

My Linux command posts

These posts are NOT supposed to be exhaustive documentation for the commands they cover, but are here as a reminder for myself as I’ve found them useful and my memory is terrible.

The cat command

The cat (concatenate) command is pretty useful. It can be used make files, look at the contents of a file and combine files to make a new one.

Why I needed it

The task it came in useful for was to combine the logs from several days from several load balanced servers.

How I used it

cat file1.txt file2.txt > myNewFile.txt

Much easier than going in to each file, copying the contents, pasting in to a new file and remembering which files I had already done.

Here is the link to my other Linux command posts.

Coverage Gutters - VS Code

Use the Coverage Gutters extension in VS Code to understand your test coverage even better Continue reading

XP Manchester - Why isn't XP the norm?

Published on February 22, 2021

Metrics give you the bad news

Published on January 23, 2021