1 00:00:00,330 --> 00:00:05,760 ‫The Cat Command is one of the most frequently used commands in Linux, Unix like operating systems. 2 00:00:07,200 --> 00:00:15,360 ‫The Cat Command allows us to create single or multiple files, view the contents of a file, concatenate 3 00:00:15,360 --> 00:00:19,740 ‫files, as well as redirect output in terminal or files. 4 00:00:20,910 --> 00:00:25,440 ‫That's where the cat command comes from, right concatenate. 5 00:00:26,740 --> 00:00:29,410 ‫I didn't just trip over that word anyway. 6 00:00:30,250 --> 00:00:33,310 ‫Generally, it's used to see the content of a text file. 7 00:00:34,060 --> 00:00:35,210 ‫I'll just show you how it works. 8 00:00:35,230 --> 00:00:41,380 ‫All right, so follow along first list files and there are two different text files here. 9 00:00:42,620 --> 00:00:47,720 ‫So let's check out the content of the my text file with the Cat Command. 10 00:00:49,170 --> 00:00:51,390 ‫And these lines are written inside the text file. 11 00:00:53,240 --> 00:00:59,570 ‫So if we want to add a new word or statement to this file, we can use a double greater than symbol. 12 00:01:00,950 --> 00:01:06,410 ‫Well, that's right, the new line and quit with control and see. 13 00:01:08,730 --> 00:01:11,580 ‫So let's see the content of the file again. 14 00:01:14,690 --> 00:01:19,550 ‫And as you can see, we've added one more line to the text file. 15 00:01:21,810 --> 00:01:26,070 ‫So what if we only use one greater than symbol? 16 00:01:27,120 --> 00:01:29,790 ‫So let's add in a new line again, run the Cat Command. 17 00:01:44,190 --> 00:01:49,980 ‫Single greater than symbol over rights, the entire content with the new line, we just added. 18 00:01:51,270 --> 00:01:52,410 ‫That's powerful stuff. 19 00:01:56,850 --> 00:02:00,000 ‫So let's see the content of the my text file to this time. 20 00:02:05,390 --> 00:02:12,650 ‫So if we run a cat command with both my text file and my text file to will see the contents of both.