WEBVTT - This file was automatically generated by VIMEO

0
00:00:05.900 --> 00:00:08.600
Hey, welcome back. So in this video we are

1
00:00:08.600 --> 00:00:12.200
 going to see how can we download files into

2
00:00:11.200 --> 00:00:13.300
 our Linux system?

3
00:00:13.900 --> 00:00:16.100
So, yes, we download a lot

4
00:00:16.100 --> 00:00:17.900
 of stuff from the internet.

5
00:00:18.700 --> 00:00:21.500
You can do that simply from your terminal

6
00:00:21.500 --> 00:00:24.700
 itself without going to your browser. So, let's

7
00:00:24.700 --> 00:00:25.500
 see how to do that.

8
00:00:26.300 --> 00:00:29.900
Now for that we are going to use a command which is W

9
00:00:29.900 --> 00:00:30.500
 get.

10
00:00:31.500 --> 00:00:35.000
With the help of this command, you can download anything from

11
00:00:34.200 --> 00:00:37.600
 the internet you simply need to give the

12
00:00:37.600 --> 00:00:40.200
 link of the resource that you want

13
00:00:40.200 --> 00:00:42.300
 to get downloaded into your computer.

14
00:00:43.300 --> 00:00:44.200
Let's quickly see that.

15
00:00:45.100 --> 00:00:48.900
So I'm going to download a file which I have hosted

16
00:00:48.900 --> 00:00:49.700
 onto my server.

17
00:00:50.400 --> 00:00:53.200
So let's type the name of the domain name,

18
00:00:53.200 --> 00:00:57.400
 which is first mean dot Sr. Secure

19
00:00:56.400 --> 00:00:59.200
 dot XY said and the

20
00:00:59.200 --> 00:01:02.400
 file that I have created is Rohit Dot txt.

21
00:01:03.300 --> 00:01:04.900
Now you need to put

22
00:01:05.900 --> 00:01:08.800
the link or the domain name address into

23
00:01:08.800 --> 00:01:11.900
 double quotes and simply hit enter and now

24
00:01:11.900 --> 00:01:14.600
 this file should successfully download into

25
00:01:14.600 --> 00:01:15.300
 your computer.

26
00:01:16.300 --> 00:01:20.900
And you can see it says connecting to fuzzmi.sr secure.xyz.

27
00:01:21.700 --> 00:01:25.000
And even it shows the resolved

28
00:01:24.300 --> 00:01:27.100
 IP address and the port it is

29
00:01:27.100 --> 00:01:30.400
 getting connected to and it is 443 because

30
00:01:30.400 --> 00:01:34.000
 we have sent a request to https.

31
00:01:35.600 --> 00:01:38.900
And you can see finally wget got connected

32
00:01:38.900 --> 00:01:41.600
 to the server and the request was sent

33
00:01:41.600 --> 00:01:45.500
 once the request has been sent it awaited

34
00:01:44.500 --> 00:01:47.300
 for the response and you

35
00:01:47.300 --> 00:01:50.600
 can see we got a 200 okay, which means our request

36
00:01:50.600 --> 00:01:53.800
 was successfully fulfilled that is

37
00:01:53.800 --> 00:01:56.700
 source that the client intended was given

38
00:01:56.700 --> 00:01:57.700
 by the server.

39
00:01:58.500 --> 00:01:59.000
You can see.

40
00:01:59.700 --> 00:02:03.200
We have downloaded a text file and you

41
00:02:02.200 --> 00:02:05.900
 can see the file type is textplane and

42
00:02:05.900 --> 00:02:08.700
 the file has been successfully saved

43
00:02:08.700 --> 00:02:12.600
 to Rohit dot txt output 100%

44
00:02:11.600 --> 00:02:15.200
 completed file size 1.16

45
00:02:14.200 --> 00:02:17.500
 KB in zero seconds. All right,

46
00:02:17.500 --> 00:02:18.700
 so let's quickly see this.

47
00:02:19.600 --> 00:02:21.000
so cat Rohit

48
00:02:22.300 --> 00:02:25.400
Dot txt and hit enter and you

49
00:02:25.400 --> 00:02:28.400
 can see it says duplicate works. So this is basically the

50
00:02:28.400 --> 00:02:31.700
 sky art that I have added into the file just

51
00:02:31.700 --> 00:02:34.300
 to make sure that duplicate Works into a

52
00:02:34.300 --> 00:02:34.400
 computer

53
00:02:35.400 --> 00:02:38.700
So I hope you guys understood how you can use duplicate to

54
00:02:38.700 --> 00:02:41.200
 download resources from the internet using your

55
00:02:41.200 --> 00:02:42.100
 terminal. Thank you.
