Hi, everyone, welcome back to the lecture.
In this lecture, we are going to create while using that method, so this video is all about creation
of fires and doing something with the fire.
OK, so we are going to learn about how to create a directory later in this video.
So first of all, we are going to see how to create a file using Peachment.
So as we all know that we have learned about God.
So this is the second command for file creation, which is touch.
So this command was originally developed so a user could simply touch a file to change some of its details,
such as date it has it was created or modified.
So however, if the file does not exists, so this command create that file by default.
So now let's see how we can create any file using touch.
So now let's see.
Currently we are in home Kaali, so here I am going to create a file which is using with the help of
touch and finally with new file.
So this is the basic syntax.
OK, so after you enter now the file has been created.
So now what I'm going to do, I'm going to use list for list.
So I what I'm going to do, I'm going to use workflow.
So as you can see that I use Ellis hyphen and to see the long list of the directories.
OK, so a list for a long list of the deputies.
OK, so after hitting enter, so I see that a new file has created with the name new file.
OK, so as you can see here now, when you notice here, the size is zero because it does file does
not contains anything.
That is why it is suing me died.
The size of this particular thing of file is zero.
So this is how you can create a file using touch command.
So, guys, now let's learn about how to create a directory that remains folder.
So as you can see that with the blue color, these are the directory to know how to create directory
in color.
So first of all, let's clear it.
So after clearing it, so the command for creating a directory in Linux is included, which is MKR did
make directory.
OK, so what it is.
So a contraction of Megg directly to create a deck to name now with the help of that and get there.
This is the way to write.
So the name of the directory is new directory.
OK, so simply hit enter software and you can see that we have created this directory now as you can
see that new directory.
So guys, I want to navigate the new directory so how I can navigate simply city change directory.
OK, Siri, let me do it again.
Siri new.
Right now.
OK, now hit enter now, as you can see that we are having we are inside the new directory now.
I want to see what this particular directory contains.
Now, when I do, it is not containing anything right now.
OK, so now, guys, the next thing that I am going to teach you is how to copy files.
So to copy file Veals command.
Copy.
OK, so this creates a duplicate of the file in the new location and leaves the alduin in place.
So here we will create the file all file in the room directly with each command and copy it into Drood
new directory renaming it and we can say renaming it in the process and leaving the original file in
place.
OK, so now let's get back Siri.
Now let's check where I am.
So I'm in Cali, so let's clear this sort of clearing now.
I'm going to create Tetch.
All right.
So this is a file that I'm going to create software creating.
Now, when you Ellers, as you can see, that the file has been created all file.
Now I want to copy it, sepi S.P..
OK, C.p and of the recipe, I will provide the part where I want to copy this file with an onion.
So I want to, I want to copy this file into.
Directory, and the name is new, but not hacked into.
So, guys, as you can see that this is giving us ETA.
So what is the problem here?
First of all, I need to add the filename that I want to copy.
Which is all fine.
OK.
Now, let's check, everything is fine, no, what it is doing here, why this command is not running
successfully, it is because I'm using route.
OK, so now, guys, let's change the route to.
Homeless sheikh.
Deskilling is EDR.
OK, now, as you can see that we have we have successfully copied this particular file, which is all
file into the new directory.
Now, if you want to check the what you need to do.
So, first of all, let's understand why these commands are getting error.
So the problem here is not a check from first one Sepi Root new data file.
So what it is doing here, it is nothing.
It is doing nothing.
But it is saying that missing destination file opened after this.
OK, so this is why it is giving enough of or I haven't as you can see that we need to add all failure
but we.
OK, we didn't.
OK, now let's check next to one.
So when I added all file.
But the problem here is we are currently not the root user as you can see that Karlee Ateret.
So that is why I think it is throwing us an error nowadays when you see this particular command, which
as you can see that, OK, when you see this, come on.
So in this command, what we did here is known as this command.
This one is also showing us an error, because when you touch file PWP, when you check like PWP, WisdomTree
currently are working on.
So like BWV, as you can see that this this is a directory where we are currently working on.
So in this case, I didn't add added this, Kaleem.
So that is where it is trying to say that.
Now let's check this one.
So in this case where it is in this case, as you can see, that we have added all the correct path,
which is home, calling you directly in your file.
So we have successfully created we have successfully copied this particular old file into the new director
with a new name, new file.
OK, so now let's clear this.
All of the clearing, this knowledge we are currently working on home Carlino is the things are very
clear.
Now, let's check new rectories.
I want to change the directory with the help of Siri New Retender.
Now, currently, I mean, you do.
So as you can see that we are inside the new file.
Now, if you want to see the content.
So it is containing nothing, that is where it is showing us nothing.
So this is how you can copy a file from one place to another place.
OK, now, guys, let's learn renaming a file.
So unfortunately, Khalid does not have a command intended solely for re re re naming a file such as
Windows in some other operating system do.
But it does not have moved on because it it does have MOFCOM on.
So every command can be used to move a file or directory to a new location or simply to give an existing
file a new name.
So now let's repeat it again.
Now I'm going to repeat it again.
Scali does not have a command pending slowly for renaming a file, so it does not have any command to
name a file.
So as Windows and some other operating system has like and on.
But if you talk about Linux, it does have me command, which is move command, so the move, come on,
or any command can be used to move a file or directory to a new location or simply to give an existing
file a new name.
So to rename new file to suppose like this is the new one, I want to rename it with the new file too.
So how you can do that?
Simply with M.V. new file to new file to know how to enter knowledge to LSW, you can see that we have
successfully renamed it this particular file.
So now let's learn how to read, remove a file, how to remove a file.
OK, so currently we're in district, as we all know that.
So to remove a file, you can simply use armed command.
So to move to move any file we use and we come and to remove any file we use.
Adam, come on.
Now, if you want to see it, simply use M oh sorry for remove are m come on remove new file.
Do not pretend not to edit.
As you can see, we are getting nothing.
OK, so this is how you can remove a file.
Now if you want to see how to remove a directory so the command for removing a directory is simpler
to arrange a command for removing file.
But we did all we can say directly appended like we use item.
OK, what I'm going to do is KDDI.
OK, now let's clear it first.
Now let's do this.
OK, so things are clear that we are having the OK, so now let's try.
So in case of war, we can say removing our territory, we can also use like this.
Let's see if it's gonna work or not dirty.
And when you hit enter now guys, let's check.
Is it working or not?
As you can see that we have successfully removed new territory.
So this is how you can use removing directory.
Come on.
So, guys, this is all about all the basic commands that you can use inside Garley Linux or we can
save Linux operating system.
So these all are the basic commands that you must be aware about, because in this course we are going
to see so many things related to Linux related to these commands related to anything that I have taught
you.
So guys, please be very aware.
Please keep repeating these commands.
Please keep practicing these commands because these commands will going to play very crucial, very
crucial role when it comes to Linux operating system.
Because Linux is not about graphical user interface, it's all about terminal.
You are directly interacting with terminal with the help of command.
As you can see that the commands make your work very easy, man.
Very easy.
For the simple command, you can create the folder, you can remove a folder, you can copy a folder,
you can do anything with the commands.
So this is going to be very, very, uh, we can say fun when you do practice, when you learn things.
And if you have any doubt, please do ask Doubt's, because if you ask me, then I will answer all the
questions.
I will answer all the questions.
So please keep practicing.
Please learn from other sources.
This is there is no restriction that you need to learn or you have to learn with discourse only.
You have so many sources.
You learn from them and you practice and make a better human being.
And I just believe on one person.
So what what is one percent rule?
It is all about?
You have to improve yourself with the one person as compared to yesterday.
You have to be one person better than yesterday.
So this is how one person rule works.
You keep learning, keep practicing, keep enjoying.
And it's all about learning.
Life is all about learning.
And thank you for watching, guys.
I hope you guys enjoyed it.