Hey, welcome back. So in this video we are
going to see how can we download files into
our Linux system?
So, yes, we download a lot
of stuff from the internet.
You can do that simply from your terminal
itself without going to your browser. So, let's
see how to do that.
Now for that we are going to use a command which is W
get.
With the help of this command, you can download anything from
the internet you simply need to give the
link of the resource that you want
to get downloaded into your computer.
Let's quickly see that.
So I'm going to download a file which I have hosted
onto my server.
So let's type the name of the domain name,
which is first mean dot Sr. Secure
dot XY said and the
file that I have created is Rohit Dot txt.
Now you need to put
the link or the domain name address into
double quotes and simply hit enter and now
this file should successfully download into
your computer.
And you can see it says connecting to fuzzmi.sr secure.xyz.
And even it shows the resolved
IP address and the port it is
getting connected to and it is 443 because
we have sent a request to https.
And you can see finally wget got connected
to the server and the request was sent
once the request has been sent it awaited
for the response and you
can see we got a 200 okay, which means our request
was successfully fulfilled that is
source that the client intended was given
by the server.
You can see.
We have downloaded a text file and you
can see the file type is textplane and
the file has been successfully saved
to Rohit dot txt output 100%
completed file size 1.16
KB in zero seconds. All right,
so let's quickly see this.
so cat Rohit
Dot txt and hit enter and you
can see it says duplicate works. So this is basically the
sky art that I have added into the file just
to make sure that duplicate Works into a
computer
So I hope you guys understood how you can use duplicate to
download resources from the internet using your
terminal. Thank you.