In this series of mini posts I will teach you a Linux lesson every day, it can be command , tricks , how to. The post will cover for beginner to advanced level. Welcome to Linux terminal.
Follow us and start learning Linux today
cat
cat is used to create ,view files in Linux. It is useful when dealing with scripts and output some command result. It can used to view multiple files as follows
cat file1 file2
To create file we can use the cat with an input file name as follows
cat> file name Ctrl+Z
You may love to learn following Linux commands and tutorials
For copying content of a file into another we can use
cat myfile>file4 Ctrl+Z