The mkdir command is used to create directories.
And here let's actually write our mkdir how it looks like here.
So m k here that's actually make directory here.
Basically make there.
So here in order to work with MQTT here you're going to firstly use the mkdir and after that you will
enter the directory name.
So I was so here that when three periods full of an argument in the description of a command here,
for example my dear one.
So it means that the argument can be repeated.
So do use here.
With this we created just a single command in order to do more than one directory.
So you will.
You can also do this mkdir here, my dear, my dear to my dear three or my, my dear three, my dear
four my special.
And here, as you can see here we created my dear.
One, two, three, four.
And my special dear here.
So we can also use the CP copy files and directories command here.
Actually, let me write it right down here.
Yeah.
C p.
Basically it's copies here.
We can with this command, we can copy files and directories.
As I said, the CP command copies, files and directories and it can be used in two different ways.
So we can also actually let us see what we, what files we have.
So this is our directory we will work in, This is our directory, we will, we're going to work in
and this is our file.
We're going to use the two CP command here.
So, so first you will see, for example, feel my copied.
Oops.
Yeah.
Copy it.
Feel here and ls And as you can see, we created my copied field.
So we copied this field to this here.
So.
We can also.
Copy the single file or directory item one to the file or directory item two.
So we can also do that for example.
CPP file.
And after that we will can also music here.
And let's see the music.
Music and ls here.
And as you can see here, we copied our field file inside our music directory here.
That's it with basic introduction of CPP command here.
So you can also learn more information with CPP.
And here, as you can see here, CPP is for used copy files and directories, copy source or to destination
or multiple source to a directory.
And mandatory arguments to long options are mandatory for short options too.
And as you can see, we have archive attributes only backup the the reference preserve links and another
commands here so you can also learn more about the CPP commands.
It's actually most popular command, one of the most popular commands in Linux.
So.
Let's create an example with it right now.
And firstly, let's actually use the MV command.
M v command as the name suggests.
Envy.
Moves and is used for moving and renaming files in Linux.
So the MOVE command performs both file and file renaming.
So file moving and file renaming depending on how it is used.
In either case, the original file name no longer exists after the operation, so env used in much the
same way as a as a CP for example.
Env.
Firstly we're going to ls oops.
Yeah.
Env file here.
And after that my renamed file and ls and as you can see we renamed the feel and the feel file no longer
exists.
Uh, in here.
We with the commands, with E here.
And we e we, we, we.
This is the interactive means here.
So before overwriting an existing file, prompt the user for confirmation.
If the option is not specified, specified env will silently overwrite files.
So for example, let's try with this env renamed renamed file and two old file old file.
And and as you can see, this is specified without asking to, uh, do it or not.
So let's actually learn about Air Command here.
Air M here.
Actually, let's make it a bit nicer.
Air M.
Here.
This is, as the name suggests.
Remove here.
So the command is used to remove delete files and directories with just a single command.
In order to do that, we're going to actually go here, clear here.
And after that we will actually let loose.
And as you can see, we have a file named Old file.
Old file.
And here, as you can see, we no longer have files here.
So you can also use the same options.
And in the previous env command, for example, you can also use the interactive.
So torch some files.
And here, as you can see, we created a new file.
You can also come here and test and as you can see here now, it asks for do we want to remove the file?
And and you can.
Yes.
And as you can see here, our file is removed.
And we can also in the previous lecture we did learn creating links and hard links.
Symbolic links which you will learn in more depth in next lecture.
So I'm waiting you in.
Next lecture.