Creating a Folder - Linux Terminal
00:00
So yeah, the first thing I want you to do is create a directory named pb_terminal
. You can create it wherever you want, but it must be named pb_terminal
.
00:11
Yeah. I’ve typed out mkdir
, which is short for make directory. So that’s how you create a new directory. And then we just add the name to it.
00:23
And the way that commands work on the terminal like this is that you have the command, which is the mkdir
part, and then that takes some parameters.
00:32 And those parameters, you typically then just space out, so there’s a space you can see right there. Perfect. And it probably worked because there was no error or something like that.
00:44 Yes. So terminals tend to be quiet as long as everything is fine and not so quiet if things are not fine. So I think this one, if I try to create the same directory one more time … So now I just did ↑ to go back in history essentially and run it one more time. You can see that now it starts yelling at me.
01:05 And when things start yelling at you, it usually means that something did not work fine. Okay. It said it didn’t create the directory because it already exists. Exactly.
Become a Member to join the conversation.