1
00:00:01,960 --> 00:00:11,280
In this lecture we are going to learn how to display content of files in terminal but first grade some

2
00:00:11,280 --> 00:00:14,850
new empty file called for example article

3
00:00:17,880 --> 00:00:22,490
and we are going to edit it for anything.

4
00:00:22,500 --> 00:00:24,510
You can use whatever editor you want.

5
00:00:24,510 --> 00:00:30,270
For example Visual Studio code or you can use get it

6
00:00:33,620 --> 00:00:34,430
or even V

7
00:00:38,910 --> 00:00:45,840
so now I just open the file in Visual Studio code and I will add a few lines here.

8
00:00:54,670 --> 00:00:59,770
So I have some text and other text another line and

9
00:01:07,000 --> 00:01:15,460
when we open terminal we can edit the content of article file using got come on.

10
00:01:16,450 --> 00:01:30,530
So just type cut followed by bots to file you want to read.

11
00:01:30,660 --> 00:01:37,260
So here I have displayed the content of article file but visuals through code doesn't add new line character

12
00:01:37,470 --> 00:01:38,330
to the last line.

13
00:01:38,370 --> 00:01:43,260
So I just will open it again in visual studio called

14
00:01:48,860 --> 00:01:52,190
and just put enter upon the last line.

15
00:01:52,190 --> 00:01:56,400
Save it and now I will.

16
00:01:56,430 --> 00:02:01,160
I'm gonna come on again and now it.

17
00:02:01,340 --> 00:02:02,880
Now the output looks good.

18
00:02:05,370 --> 00:02:08,140
Do we have some option when using cat come.

19
00:02:08,250 --> 00:02:09,050
Of course.

20
00:02:09,090 --> 00:02:11,810
So let's check the manual.

21
00:02:12,600 --> 00:02:13,730
For example.

22
00:02:13,800 --> 00:02:20,190
We can use parameter m h no all output lines.

23
00:02:20,190 --> 00:02:22,290
So let's test it.

24
00:02:22,530 --> 00:02:23,320
Right.

25
00:02:23,340 --> 00:02:29,870
Got parameter m file article and we see all the lines of it.

26
00:02:29,880 --> 00:02:31,440
It's numbers moved.
