Hello and welcome to Command
Line Basics. My name is Christopher
Allen, and I'm going to be teaching
you about how to use the command
line and understand how it
works, kind of going
away from these gooey applications,
the graphical user interface
applications and trying
to learn how to utilize the command
line and all of the tools
that it hosts.
So I'm going to
introduce you to the command line.
We're going to learn some common
command line tools and we are going
to learn how to save time with
the command line tools.
These are the three modules I'm
going to go over in my course, and I
hope you're ready for them.
So about me.
My name is Christopher Haler.
I've got eight years of industry
experience.
I've had a lot of educations
and certifications.
I'm very proud of my CISSP,
Caspa, GFA,
Grim GFA
and I've got plenty more as well.
I've got eight years of experience
with the Navy.
I did two enlistments and
I served four years as a sysadmin
and I've done another four years and
computer incident response.
And then personally I love golfing
as well.
So my goals for this course
is I want you to be able to
learn how to open the command line,
how to ask for help at the terminal,
understand how to navigate through
the file system with a command
line Interface ACOR
and use Common C online tools
to perform timesaving tasks
and chain together commands.
And if you don't understand what all
of these means, don't be worried.
I'm going to go over all of this,
help you understand and hopefully
get you very
comfortable with the command line
and learning how to use these tools
and become very efficient at them.
So I'm very happy to be able to
have this chance to teach you.
During my time in information
security, I knew that I
always wanted to be able to teach
teams that I've led.
I've enjoyed being able to teach
other people how to do difficult
and advanced things through the
command line and how to save times
and become more effective at their
goals.
So in order to be able to become
effective for this course, you need
to have some prerequisites.
First of all, you need to be able to
be able to access the command line
in order to learn it.
So I recommend having access
to the command line on a Windows
machine, as well as access
to the terminal on Linux.
And then on top of that, you need to
have a very strong attitude,
because if you've never used the
command line before, it will be very
difficult to learn how to use it.
And this is something I'm going to
hit on a lot on this course
is that you're going to have to ask
for help all the time,
every time you're going to ask for
help to learn how to use these
commands, because absolutely
nobody can remember every
single part of every single command.
It's impossible.
Everybody learns how to use them,
the Linux manuals, how to read
through those, as well as how to ask
for the correct help options
in order to be able to understand
how to perform the command
in order to get the result, you need
to be all right.
And so if you don't have
access to Olympic's machine,
I recommend having a virtualization
software such as Virtual Box
or VMware.
That way you're able to
install a virtual Linux
machine on your computer and
be able to use the Linux tools
that you will need in order to
understand the command line.
So I highly recommend using
Linux Mint. If you never use Linux
before, it's very user friendly.
It has a strong,
easy to understand GUI that
if you use windows will be very
easy to understand and also
has the underlying Linux
terminal that we're going to use
and learn how to use these different
Linux commands for the command line.
Additionally, the command line basic
sheet that I'm going to hand out
with this course, there are a
handful of Sande's cheat sheets that
I will link as well.
And there is also a
Linux basics for hackers books
by Occupy the Web.
This is published by No Starch Press
and is an excellent reference for
how to use Linux
understanding of the basics for
calling Linux.
And even if you're not a penetration
test or if you're looking to go into
sys administration or
programing, it gives some very,
very strong fundamentals on how
Linux works, how to use
specific queries and
very strong overall
reference guide for Linux.
So I highly recommend that.
Please look it up.
All right. So target audience, why
should you take this course if
you're watching this video is a very
good chance that you've heard
about the command line.
You've watched some.
Would he do it?
I've seen a movie or some crazy
hacker going crazy
on the keyboard and being able to
access all of these amazing things.
So that's really the first step
is to have that interest and
you should have that interest
because the command line has some
very powerful tools.
A lot of good applications are very
strong as well.
But what a lot of them
lack is being able to replicate
a function hundreds or
thousands of times.
So if you're tired of clicking
through having to replicate
something hundreds of times,
then the command line is for you.
From my personal experience,
I did not want
to have to click through
a computer and
get the Mac address for a computer
because I had to do it for about
seven hundred computers.
So what I did is I wrote a quick
script on the command line, had to
pull all the Mac addresses for all
my computers and then put it
into a Excel
spreadsheet.
So not only was I able to save about
six or seven hours of work,
but I was also able to
completely eliminate human error as
well. So that was a very effective
use of learning the command line.
And so what can you expect to gain
from this course?
I want you to be able to have a
lot of comfort to be able to execute
commands on this field without
a GUI, and that is the command
line interface without a graphical
user interface.
And then you can also expect
is to get increased employer value
as well, because you will be able to
repeat functions effectively
and usefully, as well as
be able to perhaps
start new functions and
learn how to
become much more effective at what
you do.
So the core structure I'm going to
use is we were going to have slides,
live demonstrations and online
labs. And I highly recommend being
able to use the online labs because
they will set up environments for
you to be able to participate in,
to be able to learn effectively.
All right.
Pre assessment.
So if you have any
experience with Linux, you should be
able to answer this.
If you don't understand this, don't
worry. We'll go over in the course.
All right.
So which Linux command allows
you to read the contents of a file?
Is it A, read,
B, grep
C more
or D text?
And we're trying to read the
contents of A file.
And if you said see more,
then you are correct, the more
command is a command that lets
you undo or spit out
the text of a text file
and print it out to the screen.
So if you said the read command,
it sounds like it would be a
command, but it's actually not for
Linux.
If you said grep, you are close
while Greb will print out
things to the screen.
It is a regular expression
search, so it's more for
searching and not for printing out
the contents of a file.
And the text command
is not a real command for Linux.
And if you didn't understand this
and you're trying to learn it, don't
worry. That's the purpose of this
course. I'm hoping you'll be able
to get a lot out of it.
All right. So for this video, we
discussed the course objectives,
the core structure, the
supplementary materials as well.
And I hope that you will
join me in the next video.
And I look forward to having a great
course with you.