YouTube2Text

Linux Luminarium - 1 The Command Line — Transcript

by pwn.college · 1,065 words · 193 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Hello hackers. I'm Yian. Welcome to Bone
  2. 0:03College. In this video we're talking
  3. 0:05about the Linux command line. All right,
  4. 0:07you've probably seen the Linux command
  5. 0:10line
  6. 0:11at some point in your life, hopefully.
  7. 0:12And maybe it was just now and you're
  8. 0:14saying, "What the heck is going on?" Uh
  9. 0:16it looks something like this. There's
  10. 0:18some sort of a prompt, in this case it
  11. 0:20is that uh hashtag there, and afterwards
  12. 0:24there is some
  13. 0:26words typed out and says echo hello
  14. 0:29hackers, and the next line says hello
  15. 0:31hackers. And all this shows up in a
  16. 0:34terminal on the command line.
  17. 0:36Why? What happened? What's going on
  18. 0:39here?
  19. 0:39Let's dig in.
  20. 0:41All right.
  21. 0:42The command line, we sometimes call it
  22. 0:44the shell.
  23. 0:46Uh uh
  24. 0:48the command shell, I don't I should know
  25. 0:50why we call it the command shell. You
  26. 0:52know what? I'm going to pause and we're
  27. 0:54going to Google and I'll be right back.
  28. 0:57Okay, we are back. Um there's not a good
  29. 0:59reason. It's a it's a silly reason.
  30. 1:01We're just going to move on. All right.
  31. 1:03So,
  32. 1:04the shell, the command shell is what you
  33. 1:07type commands into and it carries them
  34. 1:09out for you. And that's what happens.
  35. 1:12Typically, this command
  36. 1:15has the name of the command,
  37. 1:18of the program, of the operation you
  38. 1:21want done, and a couple of parameters to
  39. 1:24that command. And on the command line
  40. 1:26they're separated by spaces. So,
  41. 1:29up here where we did echo space hello
  42. 1:31space hackers, we ran the echo command
  43. 1:34with hello and hackers as the
  44. 1:37parameters. Awesome.
  45. 1:40All right.
  46. 1:42Typically, the parameter to a command is
  47. 1:45also called an argument. That's a
  48. 1:47synonym.
  49. 1:48Uh again,
  50. 1:49silly historical reasons, parameters,
  51. 1:52arguments.
  52. 1:53If you type cat space flag, what
  53. 1:56happened here? We invoked the cat
  54. 1:58program with a parameter of flag
  55. 2:01and the cat program
  56. 2:04which in Linux
  57. 2:05reads a file and outputs it to
  58. 2:08the terminal or to other places as
  59. 2:10you'll find out throughout um this
  60. 2:12module or throughout this this Linux
  61. 2:16uh material that we have
  62. 2:19um it will read that flag file at the
  63. 2:23file called flag and it will output it.
  64. 2:25All right. Awesome. In this case, the
  65. 2:28file that was called flag had the
  66. 2:31contents pwn_college
  67. 2:33and then in curly's 1337 and that's what
  68. 2:35got printed. That's how you print out a
  69. 2:38file uh on the command line in Linux.
  70. 2:41All right. Awesome.
  71. 2:43So,
  72. 2:44what are these parameters, arguments,
  73. 2:46etc., etc.?
  74. 2:48Uh
  75. 2:48they can vary quite a lot, right? With
  76. 2:51cat, it's simple. You provide the file,
  77. 2:54it shows it to you. Echo, you provide
  78. 2:56text, it shows you that text, not the
  79. 2:59file, not the the contents of the file
  80. 3:01with that name, but the text itself. If
  81. 3:03I did echo space flag, it would just say
  82. 3:06flag.
  83. 3:07Cool.
  84. 3:08Um
  85. 3:09some arguments to commands
  86. 3:12make the command act differently. For
  87. 3:15example, with echo, you saw I did echo
  88. 3:18hello hackers and it output
  89. 3:21a new the the hello hackers on its own
  90. 3:23line and then on the next line, the next
  91. 3:25prompt. If I pass the dash n command to
  92. 3:28echo, it won't output that it won't end
  93. 3:30the line and the prompt just continues
  94. 3:32the same line. That's annoying
  95. 3:34in this case. In other cases, more
  96. 3:36advanced usages that you will encounter
  97. 3:39throughout your journey in Pwn College,
  98. 3:42that's useful. Awesome.
  99. 3:44All right.
  100. 3:46Now, uh
  101. 3:48there is a
  102. 3:51kind of
  103. 3:52uh convention that for arguments that
  104. 3:56change the functionality of commands if
  105. 3:57there there's a single dash with a
  106. 3:59single letter -n means
  107. 4:02no new line, right? Now
  108. 4:06for longer arguments that don't fit in a
  109. 4:08single letter such as --utc to make the
  110. 4:12date command output the current date in
  111. 4:15UTC format that is
  112. 4:18universal time.
  113. 4:21What the What does C stand for?
  114. 4:23UTC
  115. 4:27Okay, one sec. I'll Google again.
  116. 4:31Coordinated Universal Time. UTC stands
  117. 4:33for Coordinated Universal Time. Of
  118. 4:35course it does. All right, I knew that.
  119. 4:37We knew that you knew that. We'll
  120. 4:38pretend that didn't happen. Um
  121. 4:41date --utc will output the date in UTC
  122. 4:45format.
  123. 4:46Awesome.
  124. 4:49Commands
  125. 4:51and your knowledge of the commands is
  126. 4:53what allows you to use the Linux command
  127. 4:56line effectively. And throughout this
  128. 4:58module you will learn to use it more and
  129. 5:00more and more effectively throughout
  130. 5:01this this entire Linux material
  131. 5:05and
  132. 5:06will become intermediate user if you
  133. 5:09aren't already.
  134. 5:10You'll say then take that knowledge and
  135. 5:12push through the rest of Pwn College to
  136. 5:15be an excellent hacker. All right.
  137. 5:17So
  138. 5:20go forth
  139. 5:22tackle the Linux Luminarium learn the
  140. 5:25command line and keep in mind that
  141. 5:30everything you're using here, the
  142. 5:31conventions, the technology, the command
  143. 5:34line itself
  144. 5:35it's not some
  145. 5:37you know
  146. 5:39immaculately designed thing. It's It's
  147. 5:41something that evolves, something that
  148. 5:43that that that was created for specific
  149. 5:47purposes that made sense at the time and
  150. 5:48then evolved past that and then changed
  151. 5:51and modified and combined and people
  152. 5:53argued about its design about little
  153. 5:55minutia and various egos won out here
  154. 5:58and there and decisions were made and so
  155. 6:00on. It is
  156. 6:01an organically
  157. 6:03uh evolved system
  158. 6:06with a lot of quirks as a result.
  159. 6:09So sometimes, you know, why
  160. 6:12is there a dash dash for long arguments?
  161. 6:14Why uh uh
  162. 6:16That's just how it is.
  163. 6:18One of the people that made all of this
  164. 6:21occur, all of this happen, all of this
  165. 6:23uh continue to be used and popular is
  166. 6:25the creator of Linux, Linus Torvalds.
  167. 6:28Um throughout the the the platform we
  168. 6:31try to splash in a little bit of history
  169. 6:33here and there, some fun stuff.
  170. 6:36Linus Torvalds created Linux back in
  171. 6:391991 or 1992.
  172. 6:42Um and uh
  173. 6:45started out as a hobby project. There
  174. 6:47was actually a much bigger, more serious
  175. 6:50operating system called Multics that was
  176. 6:52the first uh
  177. 6:55in that project is where I just learned
  178. 6:58the name the shell was coined.
  179. 7:01Um and Linus wrote kind of a Linus wrote
  180. 7:04a hobbyist version of it called Linux.
  181. 7:06That hobbyist version took over the
  182. 7:07world. It's running on
  183. 7:10uh
  184. 7:10a big chunk of the cell phones out
  185. 7:12there, almost all the wireless routers,
  186. 7:14etc. etc. And on desktops, servers, and
  187. 7:19stuff around the world including the
  188. 7:21phone caller server, which is why you
  189. 7:23are working with Linux.
  190. 7:26So,
  191. 7:27hope this is a good introduction.
  192. 7:30Dig on and we'll see you in future
  193. 7:33videos.

About this transcript

This page contains the full transcript of Linux Luminarium - 1 The Command Line by pwn.college, generated from the public captions YouTube serves with the video. The transcript has 1,065 words across 193 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.