YouTube2Text

Linux for Hackers // EP 1 (FREE Linux course for beginners) — Transcript

by NetworkChuck · 2,402 words · 387 segments · language en · Watch on YouTube

Full transcript

  1. 0:00if you want to become a hacker you need
  2. 0:02to know linux it's a required
  3. 0:04foundational skill it's actually a
  4. 0:05prerequisite to doing anything and
  5. 0:06hacking like you have to know it
  6. 0:08so that's why in this series i'm going
  7. 0:10to teach you linux
  8. 0:11welcome to my linux for hackers series
  9. 0:21now while the series is linux for
  10. 0:23hackers most of what i'm covering is
  11. 0:25linux for
  12. 0:26everyone and i do mean everyone if
  13. 0:27you're nit or anything you need to learn
  14. 0:29and know linux this series will teach
  15. 0:31you the linux foundations you need to
  16. 0:33start hacking
  17. 0:33and we're not going to waste any time
  18. 0:35like you're going to start using linux
  19. 0:36right now i'm not kidding like right
  20. 0:38this moment
  21. 0:38in your browser check the link in the
  22. 0:40description you're getting access to a
  23. 0:42free
  24. 0:42linux lab thanks to my partnership with
  25. 0:44hack the box academy they're actually
  26. 0:46the official sponsor of this entire
  27. 0:48series so let's go let's get you using
  28. 0:49linux right now and by the way i'm
  29. 0:50having my two oldest daughters do the
  30. 0:52same thing
  31. 0:52you ready to start hacking no clue you
  32. 0:54ready start hacking
  33. 0:56sure they are ten and seven they're
  34. 0:59signing up for hack the box academy
  35. 1:02so if you're thinking man i can't learn
  36. 1:04linux that's too hard bullcrap
  37. 1:06yes you can let's go right now
  38. 1:13so once you've clicked the link and you
  39. 1:14signed up which by the way you should
  40. 1:16this entire series will use this lab so
  41. 1:18do it you can go through the
  42. 1:19introduction or just click skip like i
  43. 1:21am
  44. 1:21no big deal now notice one thing real
  45. 1:23quick right under your username you'll
  46. 1:24have 30 of whatever the junk that is
  47. 1:26those are cubes
  48. 1:27cubes are what you need to unlock
  49. 1:29whatever course you want to take through
  50. 1:31hack the box academy you can also
  51. 1:32purchase more but hey we've already got
  52. 1:3330 we're good
  53. 1:34so next click on modules and then all
  54. 1:37modules
  55. 1:38i'm going to scroll down just a bit
  56. 1:39until i see linux fundamentals right
  57. 1:41here
  58. 1:41it costs 10 cubes we got 30. we're good
  59. 1:43we're going to click on unlock but real
  60. 1:45quick before you do that
  61. 1:46notice this right here what this plus 10
  62. 1:48means is that if we finish this linux
  63. 1:49fundamentals course like we actually
  64. 1:51complete it hack the box academy will
  65. 1:53give us 10 cubes back
  66. 1:54so it's basically free as long as you do
  67. 1:56it what you're going to right not a big
  68. 1:58deal
  69. 1:59so let's click on it click on unlock yes
  70. 2:02let's do this thing and let's not waste
  71. 2:03any time let's click on start right now
  72. 2:05and on this page what we're going to do
  73. 2:06is scroll all the way to the very very
  74. 2:08bottom
  75. 2:08all the way here until you see this
  76. 2:12your workstation this is your linux box
  77. 2:14let's go ahead and click on start
  78. 2:16start instance coffee break perfect time
  79. 2:22ah that's good stuff what are you
  80. 2:23drinking today let me know in the
  81. 2:24comments and
  82. 2:26it's ready and this is pretty cool watch
  83. 2:27this all you gotta do is click
  84. 2:29interact and it's gonna launch the
  85. 2:30sucker in your browser
  86. 2:32click go so here we go your very own
  87. 2:35linux machine
  88. 2:36your playground hack the box will call
  89. 2:37this your phone box
  90. 2:39and i love that so now that we're here
  91. 2:41inside our linux box we're going to
  92. 2:42accomplish two things
  93. 2:44first what is this i understand this may
  94. 2:46be your first time
  95. 2:48ever using linux you might be wondering
  96. 2:50what do i do
  97. 2:51i don't even know what this is we'll
  98. 2:53cover that and then two we're gonna
  99. 2:54start using it right now
  100. 2:56i'm gonna get you started with your
  101. 2:57first linux terminal commands and i'll
  102. 2:59cover what that means
  103. 3:00so first what the junk is this so this
  104. 3:02computer you're using right now
  105. 3:04here in your browser which is crazy this
  106. 3:06is linux
  107. 3:07but to be specific and technical this is
  108. 3:09actually a distribution of linux called
  109. 3:10parrot os which is an operating system
  110. 3:12built for hacking now the os
  111. 3:14and parrot os stands for operating
  112. 3:17system like
  113. 3:18windows mac os ios android it's the
  114. 3:20software that we interact with to make
  115. 3:22our computer do things so if someone
  116. 3:23were to ask you hey what operating
  117. 3:25system are you running right now
  118. 3:27it would be parrot os and parrot os is
  119. 3:29using linux
  120. 3:30and more specifically the linux kernel
  121. 3:33and i wanted to point that out because
  122. 3:34linux
  123. 3:34is technically not an operating system
  124. 3:37linux is a kernel
  125. 3:38and we build operating systems on top of
  126. 3:40it so para os is not the only flavor or
  127. 3:42distribution of linux there'll be kali
  128. 3:44linux
  129. 3:44ubuntu centos debian and they'll all use
  130. 3:47a version of the
  131. 3:48linux kernel which is actually part of
  132. 3:50the os but it's not the
  133. 3:51os now what does the linux kernel do it
  134. 3:54has a very important job
  135. 3:55it interfaces with our hardware cpu ram
  136. 3:58hard drive etc when we as the hacker
  137. 4:01want to run our favorite hacking tool
  138. 4:02let's say nmap or something we tell
  139. 4:04parrot os
  140. 4:05click let's run nmap parrot os will say
  141. 4:07hey linux kernel
  142. 4:08can we get some hardware resources here
  143. 4:10can you tell them
  144. 4:11and linux kernel gets the hardware
  145. 4:13resources set up it's kind of the middle
  146. 4:14man between the application
  147. 4:15the os and the hardware but to simplify
  148. 4:19things
  149. 4:20we just call it linux and we say what
  150. 4:22flavor of linux and we say well parrot
  151. 4:24os
  152. 4:25now the bigger question might be why
  153. 4:27linux i mean we got windows we got mac
  154. 4:29os what's wrong with those guys
  155. 4:30well nothing and everything you see
  156. 4:33what's great about linux
  157. 4:34i'll explain what's great about linux is
  158. 4:36that it's open source which means a lot
  159. 4:38but it basically means that it's open
  160. 4:40and free to use and redistribute so
  161. 4:42people can make awesome distributions
  162. 4:44like parrot os
  163. 4:46the other benefit of linux is that it's
  164. 4:48traditionally faster
  165. 4:49and more secure which is why most
  166. 4:51websites and servers in the world use
  167. 4:53linux as their operating system and it's
  168. 4:55also why hackers use linux
  169. 4:57most of the hacking tools out there are
  170. 4:59linux based so that's what linux is and
  171. 5:00this is why we use it but now how do we
  172. 5:02use it that's a more interesting
  173. 5:04question because
  174. 5:05you might be looking at this screen here
  175. 5:07your computer desktop and you may be
  176. 5:09thinking wow i didn't know linux had
  177. 5:11a pretty gui like this a graphical user
  178. 5:13interface icons and a dock and
  179. 5:15menus and stuff like that's cool and you
  180. 5:17can use linux like this
  181. 5:19but it wasn't meant to be used like this
  182. 5:21so slow down
  183. 5:22the truly wheeled the power of linux you
  184. 5:25don't use gui you're going to use the
  185. 5:27linux terminal
  186. 5:28the command line this guy right here go
  187. 5:30ahead and click on that i can't tell if
  188. 5:31that's green or yellow i'm colorblind
  189. 5:33but go ahead and click on that
  190. 5:35icon there this is the linux terminal
  191. 5:37and this is how you are supposed to use
  192. 5:39linux now if you're coming from the gui
  193. 5:41only world where all you use is a
  194. 5:42graphical user interface
  195. 5:44this might seem a little scary i totally
  196. 5:46get it but don't worry
  197. 5:47we're going to walk through this we're
  198. 5:48going to teach you a few commands here
  199. 5:50i'm going to slowly wing you off the
  200. 5:51graphical user interface
  201. 5:53i'll pull it up side by side actually
  202. 5:55watch here we go we're gonna teach you
  203. 5:56your first few commands
  204. 5:57so follow along with me go ahead and
  205. 5:59have your linux terminal open and also
  206. 6:01at the same time
  207. 6:02open up your home directory right here
  208. 6:03just double click that sucker
  209. 6:05double click i'm going to teach you your
  210. 6:06first few commands by doing something
  211. 6:08here in the gui and then doing that same
  212. 6:09thing here in the linux terminal now
  213. 6:11here's the first thing
  214. 6:12what i love about the gui is that you
  215. 6:14always kind of know where you are right
  216. 6:16because you can see it right now i'm in
  217. 6:17my user directory my home directory
  218. 6:19because i can see it right there and
  219. 6:21there's all my stuff now over here
  220. 6:23i don't see anything how do i know where
  221. 6:25i am we're going to solve that our first
  222. 6:26command
  223. 6:27type it in with me right now three
  224. 6:28letters pwd
  225. 6:30pwd stands for print working directory
  226. 6:33and it basically does what we see
  227. 6:34here and here it tells us where we're at
  228. 6:38hey where am i oh i'm right here let's
  229. 6:40try it out go ahead and hit enter
  230. 6:42bam it shows us the full path of where
  231. 6:44we are right now
  232. 6:46the home directory and then even further
  233. 6:49in
  234. 6:49drilling down our user directory so
  235. 6:51right now we're actually in the same
  236. 6:52spot
  237. 6:53as our gui same location okay cool we
  238. 6:56know where we are
  239. 6:57but we still don't see the same stuff in
  240. 6:58our gui like right now where i'm at i
  241. 7:00can actually see my my desktop and
  242. 7:01templates and documents folders and
  243. 7:03downloads folders
  244. 7:04i don't see that here how do i see that
  245. 7:06next command
  246. 7:07type it with me it's going to be our ls
  247. 7:09command ls
  248. 7:11ls stands for list and it's pretty
  249. 7:13simple what it does it'll simply list
  250. 7:15the contents of your current working
  251. 7:16directory it's going to list what we see
  252. 7:18right here you want to see let's do it
  253. 7:20go ahead and hit enter
  254. 7:22and boom it did it everything we see
  255. 7:24here desktop downloads templates
  256. 7:26documents postman
  257. 7:27is also right here see you can do
  258. 7:28anything in the terminal and it's faster
  259. 7:30i'll convince you don't worry let's keep
  260. 7:32going let's say we want to take a peek
  261. 7:34inside of our desktop folder right here
  262. 7:36in the gui i know i can just click on
  263. 7:37that folder double click
  264. 7:39jump in there and i can see my stuff how
  265. 7:41do we do that in the terminal our next
  266. 7:43command here we go
  267. 7:44the command is c d very simple
  268. 7:47cd stands for change directory and it's
  269. 7:50going to do exactly what we just did
  270. 7:51here
  271. 7:51watch let's do it right now just after
  272. 7:53cd i'll hit space and then tell it what
  273. 7:55directory i want to go to let's go to
  274. 7:56desktop so i'll type in
  275. 7:58desktop and go
  276. 8:01oh did it work i don't know
  277. 8:05let's let's see let's print our working
  278. 8:06directory pwd
  279. 8:08let's see if we actually change to that
  280. 8:10directory
  281. 8:12we did there's a current working
  282. 8:13directory and we did indeed
  283. 8:15drill down right into the desktop folder
  284. 8:17and then to see what's on our desktop as
  285. 8:19we can see in the gui we'll just simply
  286. 8:20type in ls to list the contents
  287. 8:24bam there it all is right there now
  288. 8:26we're gonna learn one more command so
  289. 8:27hang with me
  290. 8:28but so far we've done a lot the pwd
  291. 8:31command to see where we are
  292. 8:32the ls command to see what's around us
  293. 8:34what's in our directory
  294. 8:35and the cd command to change where we
  295. 8:37are but now how do we go
  296. 8:39back because like in the gui here it's
  297. 8:41pretty intuitive we got a back button up
  298. 8:42here we just go
  299. 8:43back and suddenly we're back to our
  300. 8:45directory we started in
  301. 8:46our home directory how do we do that
  302. 8:48same thing over here in the terminal
  303. 8:50it's actually super easy so again we're
  304. 8:51going to type in cd we're going to
  305. 8:52change our directory because we actually
  306. 8:54are changing our directory and then
  307. 8:56we'll do a space
  308. 8:57and all we're going to put in is dot dot
  309. 8:59so cd
  310. 9:00space dot dot hit enter and let's see
  311. 9:02what happens
  312. 9:04boom what happened let's type in pwd and
  313. 9:08see if it changed our directory
  314. 9:10totally did so again we were in home
  315. 9:13user
  316. 9:1489786 desktop we entered the cd
  317. 9:17command with dot dot and that dropped us
  318. 9:20back
  319. 9:20to home user 89786 now just for fun i
  320. 9:23wonder what will happen if we keep going
  321. 9:25backwards if we type in cd
  322. 9:27dot dot again i'll type in pwd where i'm
  323. 9:29at
  324. 9:30i'm at slash home now let's do cd once
  325. 9:33more
  326. 9:34where i'm at now pwd
  327. 9:37oh now instead of home i'm simply at
  328. 9:40forward slash
  329. 9:41and what this is is actually the root of
  330. 9:43the file system
  331. 9:44it's the end we reached the end and
  332. 9:47we'll talk more about that later
  333. 9:48but just for fun again that's all for
  334. 9:50fun right here
  335. 9:52enter the command ls let's list the
  336. 9:53contents of the root directory
  337. 9:58huh a lot of interesting files here
  338. 10:00we'll talk about all this later now real
  339. 10:01quick
  340. 10:02quiz for you let's see what you remember
  341. 10:04right now again if i print my working
  342. 10:05directory pwd
  343. 10:07i'm at the root forward slash what
  344. 10:09command or commands would i enter to get
  345. 10:11back
  346. 10:12here where we were to start with now
  347. 10:14there are two options really
  348. 10:15you can do it with one command or you
  349. 10:17can do it with two commands comment
  350. 10:18below with what you got now here
  351. 10:20we just scratched the surface we're
  352. 10:22going deeper into linux we're gonna get
  353. 10:23you prepped and ready to become a hacker
  354. 10:25but don't that diminish the fact that
  355. 10:27you did a lot today in this video we
  356. 10:28covered what linux is
  357. 10:30it's both a kernel and an operating
  358. 10:32system similar to windows and mac
  359. 10:34but it's faster more powerful and more
  360. 10:36secure and way more popular
  361. 10:38it wins that contest hands down
  362. 10:40especially with hackers
  363. 10:41we love it and we also covered some
  364. 10:42linux terminal commands we started to
  365. 10:44move away from the gui weaning ourselves
  366. 10:46of the gui
  367. 10:47and started typing away pwd lscd
  368. 10:50more to come and again massive shout out
  369. 10:52to the sponsor of the series
  370. 10:54hack the box academy hack the box
  371. 10:55academy which is obviously tied to hack
  372. 10:57the box
  373. 10:58it's different in that it's more of a
  374. 10:59guided i.t security platform and by the
  375. 11:01way all the commands i mentioned in this
  376. 11:02video will be covered in depth
  377. 11:04on hack the box academy and of course
  378. 11:06don't forget to hack the youtube
  379. 11:07algorithm today
  380. 11:08hit that like button subscribe
  381. 11:10notification bell comment let's hack
  382. 11:11youtube
  383. 11:12ethically of course yeah that's all i
  384. 11:14got
  385. 11:15i'll catch you guys next time
  386. 11:28[Music]
  387. 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.