Acquisition Commands

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
21 hours 25 minutes
Difficulty
Intermediate
CEU/CPE
21
Video Transcription
00:00
>> Hello, Cybrarians,
00:00
>> and welcome back to
00:00
>> the Linux+ course here at Cybrary,
00:00
I'm your instructor Rob Goelz.
00:00
>> In today's lesson,
00:00
>> we're going to discuss acquisition commands.
00:00
Upon completion of the lesson today,
00:00
you're going to be able to understand what
00:00
acquisition commands are and what they're used
00:00
for and we'll also see how to
00:00
use the wget and curl commands.
00:00
Acquisition commands are just a fancy way of saying using
00:00
Linux to download a file or package from remote stores,
00:00
doing this from the command line.
00:00
For the Linux plus exam,
00:00
there are two acquisition commands that you have to
00:00
know, wget and curl.
00:00
Now the wget command can be used to
00:00
download packages and files from remote servers,
00:00
and it can be done via FTP,
00:00
FTPS, HTTP, or HTTPS.
00:00
Primarily wget is used as a simple way
00:00
to just download a package file and you do that
00:00
with the syntax wget and
00:00
then the URL of the file or package or download.
00:00
Generally you'll just go wget to
00:00
an HTTP or HTTPS source where
00:00
that package file lives
00:00
and download that to the directory that you're in.
00:00
The curl command works pretty much the same as wget,
00:00
it just has more features and supports
00:00
more protocols beyond FTP and HTTP.
00:00
To use curl to download a package like we do with wget,
00:00
we use curl -O,
00:00
and then the URL of the file
00:00
or package that you want to download.
00:00
If you wanted to specify a file name for the download,
00:00
if you want to name it something other than the name
00:00
of the package on the remote source,
00:00
you can do curl -o,
00:00
and then the name of the file that you want to give it,
00:00
and then the URL of the file or package to download.
00:00
But with that, we've reached the end of
00:00
the lesson and in today's lesson we covered
00:00
acquisition commands and the two
00:00
we need to know are wget and curl.
00:00
Thank you so much for being here and I look
00:00
forward to seeing you in our next lesson.
Up Next