Linux Luminarium - 1 The Command Line — Transcript
Full transcript
- 0:00Hello hackers. I'm Yian. Welcome to Bone
- 0:03College. In this video we're talking
- 0:05about the Linux command line. All right,
- 0:07you've probably seen the Linux command
- 0:10line
- 0:11at some point in your life, hopefully.
- 0:12And maybe it was just now and you're
- 0:14saying, "What the heck is going on?" Uh
- 0:16it looks something like this. There's
- 0:18some sort of a prompt, in this case it
- 0:20is that uh hashtag there, and afterwards
- 0:24there is some
- 0:26words typed out and says echo hello
- 0:29hackers, and the next line says hello
- 0:31hackers. And all this shows up in a
- 0:34terminal on the command line.
- 0:36Why? What happened? What's going on
- 0:39here?
- 0:39Let's dig in.
- 0:41All right.
- 0:42The command line, we sometimes call it
- 0:44the shell.
- 0:46Uh uh
- 0:48the command shell, I don't I should know
- 0:50why we call it the command shell. You
- 0:52know what? I'm going to pause and we're
- 0:54going to Google and I'll be right back.
- 0:57Okay, we are back. Um there's not a good
- 0:59reason. It's a it's a silly reason.
- 1:01We're just going to move on. All right.
- 1:03So,
- 1:04the shell, the command shell is what you
- 1:07type commands into and it carries them
- 1:09out for you. And that's what happens.
- 1:12Typically, this command
- 1:15has the name of the command,
- 1:18of the program, of the operation you
- 1:21want done, and a couple of parameters to
- 1:24that command. And on the command line
- 1:26they're separated by spaces. So,
- 1:29up here where we did echo space hello
- 1:31space hackers, we ran the echo command
- 1:34with hello and hackers as the
- 1:37parameters. Awesome.
- 1:40All right.
- 1:42Typically, the parameter to a command is
- 1:45also called an argument. That's a
- 1:47synonym.
- 1:48Uh again,
- 1:49silly historical reasons, parameters,
- 1:52arguments.
- 1:53If you type cat space flag, what
- 1:56happened here? We invoked the cat
- 1:58program with a parameter of flag
- 2:01and the cat program
- 2:04which in Linux
- 2:05reads a file and outputs it to
- 2:08the terminal or to other places as
- 2:10you'll find out throughout um this
- 2:12module or throughout this this Linux
- 2:16uh material that we have
- 2:19um it will read that flag file at the
- 2:23file called flag and it will output it.
- 2:25All right. Awesome. In this case, the
- 2:28file that was called flag had the
- 2:31contents pwn_college
- 2:33and then in curly's 1337 and that's what
- 2:35got printed. That's how you print out a
- 2:38file uh on the command line in Linux.
- 2:41All right. Awesome.
- 2:43So,
- 2:44what are these parameters, arguments,
- 2:46etc., etc.?
- 2:48Uh
- 2:48they can vary quite a lot, right? With
- 2:51cat, it's simple. You provide the file,
- 2:54it shows it to you. Echo, you provide
- 2:56text, it shows you that text, not the
- 2:59file, not the the contents of the file
- 3:01with that name, but the text itself. If
- 3:03I did echo space flag, it would just say
- 3:06flag.
- 3:07Cool.
- 3:08Um
- 3:09some arguments to commands
- 3:12make the command act differently. For
- 3:15example, with echo, you saw I did echo
- 3:18hello hackers and it output
- 3:21a new the the hello hackers on its own
- 3:23line and then on the next line, the next
- 3:25prompt. If I pass the dash n command to
- 3:28echo, it won't output that it won't end
- 3:30the line and the prompt just continues
- 3:32the same line. That's annoying
- 3:34in this case. In other cases, more
- 3:36advanced usages that you will encounter
- 3:39throughout your journey in Pwn College,
- 3:42that's useful. Awesome.
- 3:44All right.
- 3:46Now, uh
- 3:48there is a
- 3:51kind of
- 3:52uh convention that for arguments that
- 3:56change the functionality of commands if
- 3:57there there's a single dash with a
- 3:59single letter -n means
- 4:02no new line, right? Now
- 4:06for longer arguments that don't fit in a
- 4:08single letter such as --utc to make the
- 4:12date command output the current date in
- 4:15UTC format that is
- 4:18universal time.
- 4:21What the What does C stand for?
- 4:23UTC
- 4:27Okay, one sec. I'll Google again.
- 4:31Coordinated Universal Time. UTC stands
- 4:33for Coordinated Universal Time. Of
- 4:35course it does. All right, I knew that.
- 4:37We knew that you knew that. We'll
- 4:38pretend that didn't happen. Um
- 4:41date --utc will output the date in UTC
- 4:45format.
- 4:46Awesome.
- 4:49Commands
- 4:51and your knowledge of the commands is
- 4:53what allows you to use the Linux command
- 4:56line effectively. And throughout this
- 4:58module you will learn to use it more and
- 5:00more and more effectively throughout
- 5:01this this entire Linux material
- 5:05and
- 5:06will become intermediate user if you
- 5:09aren't already.
- 5:10You'll say then take that knowledge and
- 5:12push through the rest of Pwn College to
- 5:15be an excellent hacker. All right.
- 5:17So
- 5:20go forth
- 5:22tackle the Linux Luminarium learn the
- 5:25command line and keep in mind that
- 5:30everything you're using here, the
- 5:31conventions, the technology, the command
- 5:34line itself
- 5:35it's not some
- 5:37you know
- 5:39immaculately designed thing. It's It's
- 5:41something that evolves, something that
- 5:43that that that was created for specific
- 5:47purposes that made sense at the time and
- 5:48then evolved past that and then changed
- 5:51and modified and combined and people
- 5:53argued about its design about little
- 5:55minutia and various egos won out here
- 5:58and there and decisions were made and so
- 6:00on. It is
- 6:01an organically
- 6:03uh evolved system
- 6:06with a lot of quirks as a result.
- 6:09So sometimes, you know, why
- 6:12is there a dash dash for long arguments?
- 6:14Why uh uh
- 6:16That's just how it is.
- 6:18One of the people that made all of this
- 6:21occur, all of this happen, all of this
- 6:23uh continue to be used and popular is
- 6:25the creator of Linux, Linus Torvalds.
- 6:28Um throughout the the the platform we
- 6:31try to splash in a little bit of history
- 6:33here and there, some fun stuff.
- 6:36Linus Torvalds created Linux back in
- 6:391991 or 1992.
- 6:42Um and uh
- 6:45started out as a hobby project. There
- 6:47was actually a much bigger, more serious
- 6:50operating system called Multics that was
- 6:52the first uh
- 6:55in that project is where I just learned
- 6:58the name the shell was coined.
- 7:01Um and Linus wrote kind of a Linus wrote
- 7:04a hobbyist version of it called Linux.
- 7:06That hobbyist version took over the
- 7:07world. It's running on
- 7:10uh
- 7:10a big chunk of the cell phones out
- 7:12there, almost all the wireless routers,
- 7:14etc. etc. And on desktops, servers, and
- 7:19stuff around the world including the
- 7:21phone caller server, which is why you
- 7:23are working with Linux.
- 7:26So,
- 7:27hope this is a good introduction.
- 7:30Dig on and we'll see you in future
- 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.