This is our first video of the offensive cyber operations series.
And today we will be talking about counseling's command line since almost all of our videos will be
done from Kelly.
We need to get comfortable with that.
First, let's talk about some of the Linux directories.
The first one is the slash for Slash.
Then this directory holds the basic programs such as Ellas CD Cat.
For instance, if I do force flush bin and then first flush again, unless, of course, there's nothing
here in our directory, there's not going to show anything.
So if I do this again with an argument of L.A., it will give you some details about the size and groups
and users permissions.
We will get to that later.
The second one is the forest as Ben.
Four such as Ben, and then if we click on the tab again and you're on your keyboard, you will get
a lot of possibilities here, a lot of programs, the S-Bahn whole system programs such as Disc, SMK,
AIFS says CTL.
So if we do for a special spin and NKF, as we notice, it's it exists there and then the third one
is the Forest Fash Etsi.
This one has the configuration files of your Linux operating system, the next one is the fourth tenth.
This one is a temporary directory and usually has the content of anything temporary or downloading or
some of the applications that are using.
And usually it's deleted on when you reboot your computer.
Next is the one for us, the USSR, then this one holds some of the applications like Unmap or Apte
like this.
So we noticed the like we noticed the map exists in the user bin and map.
Let's have a practical examples of some of the essential commands that we will be using a lot on most
of the Unix or Linux operating systems, the first command is the ALA's.
So in this directory, if we do Ellis' and then help, we get a lot of arguments with it.
But the one that we are really interested in is the Ellis Dash, like this one gives you a lot of information
when we're using the Dash A, it shows all the hidden files.
So if we go to the home directory and we will get to that later and we use the Ellis Dash L-A, it will
show us some of the hidden files and directories that that Shell will show us all the permissions and
the file size of your folders and files here.
We also get the user permissions like the first part, D-R, W X, RDX, RDX, that's that's the permission
of the files.
Of course, we don't have anything here.
We will get to that later when we use the touch command to create some files first.
So let's clear the screen and create some files, we're using the touch command to create an empty file.
We can go we can call it stuff, one or stuff, too, or whatever you want.
And if you use the Ellis Daschle again, it will show us this file stuff once it has a permission of
user of it and groups of ulcerate.
We will get to the permission later.
Now let's navigate.
We will navigate the links operating systems using the CD Command or change directory.
It's the same thing even on Windows.
So if we do cede space and then we type here the name of the directory, we have to provide the path,
the absolute path of that directory, or if the directory already located in our folder here, we don't
have to provide the absolute path.
Let's take an example.
If I want to change my daughter to go to the first user share, then if you notice here, the prompt
changed to from offtakes psyops to user share.
If you want to make sure where exactly we are located and we just type W.D. or print work directory
tells you we are on the user share.
Now if we go to and type C D space, the tilde, this one next to the number one.
So we have to use that using your click dial, using the shift command like shift on your keyboard and
then the tilled.
This means we want to go to the home directory.
We can use this a lot if we are if you're writing a scripting because instead of your some users have
a long name, their usernames, they are very long.
So if you want to go to your home directory, you don't have to go to like this Khedive home and then
your username, you can just simply type code space, Tilde.
Let's try now, if you do that again, it shows that we are in the root directory, which is our home.
The next one is let's first go to our sex psyops directory, Clearstream, let's make a directory here,
make dire stuff or let's make it psyops.
L'Estang latest show, Everything in our current directory, we see the stuff, one file and then the
side office directly if we notice this D letter in the very beginning.
This means this is a directory, not a file.
Now let's create multiple directories at the same time that we do that by the same Comen, M.K. Dir
and then stuff one of two stuff.
Three, notice that we are just providing spaces between the names.
If we click enter, it says stuff already exists, so we have to remove that.
We just create stuff to sell three.
Oh, stuff, too, we already really created that.
Let's do this again.
So now we have we really had stuff, one from before, that's the file oh, we created the PSYOPS guys
as directory, not stuff.
So now when we created stuff to install three, it did that here.
And it has the D letter in the beginning of the permissions.
So we have stuff to stuff right now, let's remove a directory, how do we do that?
We will do that simply by using the R.M. command.
It's for remote, so we do our own dash R.F. for force, and we have to tell it that this is a directory.
So that's our F and then the name of your directory stuff, one stuff, one here is not a directory,
so we can't remove it using this name.
I'm just giving an example, but we still can remove it.
The R and R if you can remove files or also you can also remove directories.
So let's try to remove the directory itself.
Stuff to enlist dash Palladin.
It's gone.
Same thing with the stuff.
Three, it's gone now if we want to create a directory but it has the name of the directory has spaces
in it.
So if I do make Dyar space and now the folder or the directory I want to create has some spaces in it,
like for instance, if I want to do my space stuff folder, this is going to create a directory called
My and another one called Stuff, another one called folder above.
But if we want to create it using the spaces in between, we have to surrounded by double quotes, put
double quotes here and double quotes at the end and click enter lists that again we see this, our creative
directory called My Stuff folder.