Linux for Hackers // EP 1 (FREE Linux course for beginners) — Transcript
Full transcript
- 0:00if you want to become a hacker you need
- 0:02to know linux it's a required
- 0:04foundational skill it's actually a
- 0:05prerequisite to doing anything and
- 0:06hacking like you have to know it
- 0:08so that's why in this series i'm going
- 0:10to teach you linux
- 0:11welcome to my linux for hackers series
- 0:21now while the series is linux for
- 0:23hackers most of what i'm covering is
- 0:25linux for
- 0:26everyone and i do mean everyone if
- 0:27you're nit or anything you need to learn
- 0:29and know linux this series will teach
- 0:31you the linux foundations you need to
- 0:33start hacking
- 0:33and we're not going to waste any time
- 0:35like you're going to start using linux
- 0:36right now i'm not kidding like right
- 0:38this moment
- 0:38in your browser check the link in the
- 0:40description you're getting access to a
- 0:42free
- 0:42linux lab thanks to my partnership with
- 0:44hack the box academy they're actually
- 0:46the official sponsor of this entire
- 0:48series so let's go let's get you using
- 0:49linux right now and by the way i'm
- 0:50having my two oldest daughters do the
- 0:52same thing
- 0:52you ready to start hacking no clue you
- 0:54ready start hacking
- 0:56sure they are ten and seven they're
- 0:59signing up for hack the box academy
- 1:02so if you're thinking man i can't learn
- 1:04linux that's too hard bullcrap
- 1:06yes you can let's go right now
- 1:13so once you've clicked the link and you
- 1:14signed up which by the way you should
- 1:16this entire series will use this lab so
- 1:18do it you can go through the
- 1:19introduction or just click skip like i
- 1:21am
- 1:21no big deal now notice one thing real
- 1:23quick right under your username you'll
- 1:24have 30 of whatever the junk that is
- 1:26those are cubes
- 1:27cubes are what you need to unlock
- 1:29whatever course you want to take through
- 1:31hack the box academy you can also
- 1:32purchase more but hey we've already got
- 1:3330 we're good
- 1:34so next click on modules and then all
- 1:37modules
- 1:38i'm going to scroll down just a bit
- 1:39until i see linux fundamentals right
- 1:41here
- 1:41it costs 10 cubes we got 30. we're good
- 1:43we're going to click on unlock but real
- 1:45quick before you do that
- 1:46notice this right here what this plus 10
- 1:48means is that if we finish this linux
- 1:49fundamentals course like we actually
- 1:51complete it hack the box academy will
- 1:53give us 10 cubes back
- 1:54so it's basically free as long as you do
- 1:56it what you're going to right not a big
- 1:58deal
- 1:59so let's click on it click on unlock yes
- 2:02let's do this thing and let's not waste
- 2:03any time let's click on start right now
- 2:05and on this page what we're going to do
- 2:06is scroll all the way to the very very
- 2:08bottom
- 2:08all the way here until you see this
- 2:12your workstation this is your linux box
- 2:14let's go ahead and click on start
- 2:16start instance coffee break perfect time
- 2:22ah that's good stuff what are you
- 2:23drinking today let me know in the
- 2:24comments and
- 2:26it's ready and this is pretty cool watch
- 2:27this all you gotta do is click
- 2:29interact and it's gonna launch the
- 2:30sucker in your browser
- 2:32click go so here we go your very own
- 2:35linux machine
- 2:36your playground hack the box will call
- 2:37this your phone box
- 2:39and i love that so now that we're here
- 2:41inside our linux box we're going to
- 2:42accomplish two things
- 2:44first what is this i understand this may
- 2:46be your first time
- 2:48ever using linux you might be wondering
- 2:50what do i do
- 2:51i don't even know what this is we'll
- 2:53cover that and then two we're gonna
- 2:54start using it right now
- 2:56i'm gonna get you started with your
- 2:57first linux terminal commands and i'll
- 2:59cover what that means
- 3:00so first what the junk is this so this
- 3:02computer you're using right now
- 3:04here in your browser which is crazy this
- 3:06is linux
- 3:07but to be specific and technical this is
- 3:09actually a distribution of linux called
- 3:10parrot os which is an operating system
- 3:12built for hacking now the os
- 3:14and parrot os stands for operating
- 3:17system like
- 3:18windows mac os ios android it's the
- 3:20software that we interact with to make
- 3:22our computer do things so if someone
- 3:23were to ask you hey what operating
- 3:25system are you running right now
- 3:27it would be parrot os and parrot os is
- 3:29using linux
- 3:30and more specifically the linux kernel
- 3:33and i wanted to point that out because
- 3:34linux
- 3:34is technically not an operating system
- 3:37linux is a kernel
- 3:38and we build operating systems on top of
- 3:40it so para os is not the only flavor or
- 3:42distribution of linux there'll be kali
- 3:44linux
- 3:44ubuntu centos debian and they'll all use
- 3:47a version of the
- 3:48linux kernel which is actually part of
- 3:50the os but it's not the
- 3:51os now what does the linux kernel do it
- 3:54has a very important job
- 3:55it interfaces with our hardware cpu ram
- 3:58hard drive etc when we as the hacker
- 4:01want to run our favorite hacking tool
- 4:02let's say nmap or something we tell
- 4:04parrot os
- 4:05click let's run nmap parrot os will say
- 4:07hey linux kernel
- 4:08can we get some hardware resources here
- 4:10can you tell them
- 4:11and linux kernel gets the hardware
- 4:13resources set up it's kind of the middle
- 4:14man between the application
- 4:15the os and the hardware but to simplify
- 4:19things
- 4:20we just call it linux and we say what
- 4:22flavor of linux and we say well parrot
- 4:24os
- 4:25now the bigger question might be why
- 4:27linux i mean we got windows we got mac
- 4:29os what's wrong with those guys
- 4:30well nothing and everything you see
- 4:33what's great about linux
- 4:34i'll explain what's great about linux is
- 4:36that it's open source which means a lot
- 4:38but it basically means that it's open
- 4:40and free to use and redistribute so
- 4:42people can make awesome distributions
- 4:44like parrot os
- 4:46the other benefit of linux is that it's
- 4:48traditionally faster
- 4:49and more secure which is why most
- 4:51websites and servers in the world use
- 4:53linux as their operating system and it's
- 4:55also why hackers use linux
- 4:57most of the hacking tools out there are
- 4:59linux based so that's what linux is and
- 5:00this is why we use it but now how do we
- 5:02use it that's a more interesting
- 5:04question because
- 5:05you might be looking at this screen here
- 5:07your computer desktop and you may be
- 5:09thinking wow i didn't know linux had
- 5:11a pretty gui like this a graphical user
- 5:13interface icons and a dock and
- 5:15menus and stuff like that's cool and you
- 5:17can use linux like this
- 5:19but it wasn't meant to be used like this
- 5:21so slow down
- 5:22the truly wheeled the power of linux you
- 5:25don't use gui you're going to use the
- 5:27linux terminal
- 5:28the command line this guy right here go
- 5:30ahead and click on that i can't tell if
- 5:31that's green or yellow i'm colorblind
- 5:33but go ahead and click on that
- 5:35icon there this is the linux terminal
- 5:37and this is how you are supposed to use
- 5:39linux now if you're coming from the gui
- 5:41only world where all you use is a
- 5:42graphical user interface
- 5:44this might seem a little scary i totally
- 5:46get it but don't worry
- 5:47we're going to walk through this we're
- 5:48going to teach you a few commands here
- 5:50i'm going to slowly wing you off the
- 5:51graphical user interface
- 5:53i'll pull it up side by side actually
- 5:55watch here we go we're gonna teach you
- 5:56your first few commands
- 5:57so follow along with me go ahead and
- 5:59have your linux terminal open and also
- 6:01at the same time
- 6:02open up your home directory right here
- 6:03just double click that sucker
- 6:05double click i'm going to teach you your
- 6:06first few commands by doing something
- 6:08here in the gui and then doing that same
- 6:09thing here in the linux terminal now
- 6:11here's the first thing
- 6:12what i love about the gui is that you
- 6:14always kind of know where you are right
- 6:16because you can see it right now i'm in
- 6:17my user directory my home directory
- 6:19because i can see it right there and
- 6:21there's all my stuff now over here
- 6:23i don't see anything how do i know where
- 6:25i am we're going to solve that our first
- 6:26command
- 6:27type it in with me right now three
- 6:28letters pwd
- 6:30pwd stands for print working directory
- 6:33and it basically does what we see
- 6:34here and here it tells us where we're at
- 6:38hey where am i oh i'm right here let's
- 6:40try it out go ahead and hit enter
- 6:42bam it shows us the full path of where
- 6:44we are right now
- 6:46the home directory and then even further
- 6:49in
- 6:49drilling down our user directory so
- 6:51right now we're actually in the same
- 6:52spot
- 6:53as our gui same location okay cool we
- 6:56know where we are
- 6:57but we still don't see the same stuff in
- 6:58our gui like right now where i'm at i
- 7:00can actually see my my desktop and
- 7:01templates and documents folders and
- 7:03downloads folders
- 7:04i don't see that here how do i see that
- 7:06next command
- 7:07type it with me it's going to be our ls
- 7:09command ls
- 7:11ls stands for list and it's pretty
- 7:13simple what it does it'll simply list
- 7:15the contents of your current working
- 7:16directory it's going to list what we see
- 7:18right here you want to see let's do it
- 7:20go ahead and hit enter
- 7:22and boom it did it everything we see
- 7:24here desktop downloads templates
- 7:26documents postman
- 7:27is also right here see you can do
- 7:28anything in the terminal and it's faster
- 7:30i'll convince you don't worry let's keep
- 7:32going let's say we want to take a peek
- 7:34inside of our desktop folder right here
- 7:36in the gui i know i can just click on
- 7:37that folder double click
- 7:39jump in there and i can see my stuff how
- 7:41do we do that in the terminal our next
- 7:43command here we go
- 7:44the command is c d very simple
- 7:47cd stands for change directory and it's
- 7:50going to do exactly what we just did
- 7:51here
- 7:51watch let's do it right now just after
- 7:53cd i'll hit space and then tell it what
- 7:55directory i want to go to let's go to
- 7:56desktop so i'll type in
- 7:58desktop and go
- 8:01oh did it work i don't know
- 8:05let's let's see let's print our working
- 8:06directory pwd
- 8:08let's see if we actually change to that
- 8:10directory
- 8:12we did there's a current working
- 8:13directory and we did indeed
- 8:15drill down right into the desktop folder
- 8:17and then to see what's on our desktop as
- 8:19we can see in the gui we'll just simply
- 8:20type in ls to list the contents
- 8:24bam there it all is right there now
- 8:26we're gonna learn one more command so
- 8:27hang with me
- 8:28but so far we've done a lot the pwd
- 8:31command to see where we are
- 8:32the ls command to see what's around us
- 8:34what's in our directory
- 8:35and the cd command to change where we
- 8:37are but now how do we go
- 8:39back because like in the gui here it's
- 8:41pretty intuitive we got a back button up
- 8:42here we just go
- 8:43back and suddenly we're back to our
- 8:45directory we started in
- 8:46our home directory how do we do that
- 8:48same thing over here in the terminal
- 8:50it's actually super easy so again we're
- 8:51going to type in cd we're going to
- 8:52change our directory because we actually
- 8:54are changing our directory and then
- 8:56we'll do a space
- 8:57and all we're going to put in is dot dot
- 8:59so cd
- 9:00space dot dot hit enter and let's see
- 9:02what happens
- 9:04boom what happened let's type in pwd and
- 9:08see if it changed our directory
- 9:10totally did so again we were in home
- 9:13user
- 9:1489786 desktop we entered the cd
- 9:17command with dot dot and that dropped us
- 9:20back
- 9:20to home user 89786 now just for fun i
- 9:23wonder what will happen if we keep going
- 9:25backwards if we type in cd
- 9:27dot dot again i'll type in pwd where i'm
- 9:29at
- 9:30i'm at slash home now let's do cd once
- 9:33more
- 9:34where i'm at now pwd
- 9:37oh now instead of home i'm simply at
- 9:40forward slash
- 9:41and what this is is actually the root of
- 9:43the file system
- 9:44it's the end we reached the end and
- 9:47we'll talk more about that later
- 9:48but just for fun again that's all for
- 9:50fun right here
- 9:52enter the command ls let's list the
- 9:53contents of the root directory
- 9:58huh a lot of interesting files here
- 10:00we'll talk about all this later now real
- 10:01quick
- 10:02quiz for you let's see what you remember
- 10:04right now again if i print my working
- 10:05directory pwd
- 10:07i'm at the root forward slash what
- 10:09command or commands would i enter to get
- 10:11back
- 10:12here where we were to start with now
- 10:14there are two options really
- 10:15you can do it with one command or you
- 10:17can do it with two commands comment
- 10:18below with what you got now here
- 10:20we just scratched the surface we're
- 10:22going deeper into linux we're gonna get
- 10:23you prepped and ready to become a hacker
- 10:25but don't that diminish the fact that
- 10:27you did a lot today in this video we
- 10:28covered what linux is
- 10:30it's both a kernel and an operating
- 10:32system similar to windows and mac
- 10:34but it's faster more powerful and more
- 10:36secure and way more popular
- 10:38it wins that contest hands down
- 10:40especially with hackers
- 10:41we love it and we also covered some
- 10:42linux terminal commands we started to
- 10:44move away from the gui weaning ourselves
- 10:46of the gui
- 10:47and started typing away pwd lscd
- 10:50more to come and again massive shout out
- 10:52to the sponsor of the series
- 10:54hack the box academy hack the box
- 10:55academy which is obviously tied to hack
- 10:57the box
- 10:58it's different in that it's more of a
- 10:59guided i.t security platform and by the
- 11:01way all the commands i mentioned in this
- 11:02video will be covered in depth
- 11:04on hack the box academy and of course
- 11:06don't forget to hack the youtube
- 11:07algorithm today
- 11:08hit that like button subscribe
- 11:10notification bell comment let's hack
- 11:11youtube
- 11:12ethically of course yeah that's all i
- 11:14got
- 11:15i'll catch you guys next time
- 11:28[Music]
- 11:32you
About this transcript
This page contains the full transcript of Linux for Hackers // EP 1 (FREE Linux course for beginners) by NetworkChuck, generated from the public captions YouTube serves with the video. The transcript has 2,402 words across 387 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.