Tab completion, an up arrow key in this lesson, we will learn how when we run the tab button on your
keyboard, how can it complete your directory or your command that you're trying to run and how the
upper key works and how it returns the last round command.
Hitting tab key completist available commands, files or directories such as when you were running Changemaker
mod this command, it has Odie's at the end as well.
So if you just type S.A.M. and hit tab, it completes the command for you the same way when you do Elspeth's
J and it tab, it will list all the files that starts with J.
Then you have CD distress, so if you do send it tab, it will bring you any all the directories that
matches the first three letters, Uppercase D.
So basically the tab makes the typing a lot easier.
And Lennix, so you don't have to run the whole long commands again and again.
You could just simply tab if you know the Kemet and autocomplete it for you.
This is very useful feature.
And Lennix, I'm telling you, this is very useful.
Once you're going to become a real expert in Lennix, you're going to be using this tab button almost
every day and every time you logged into Lennix machine, then we have another cool feature of Linux
is heading the up Arrow key.
What that does is every time you hit up Arrow Key, it will bring you the last rank man on your Linux
terminal.
Isn't that cool?
It is cool because you don't have to run the commands again and again and again.
So you just hit up Baraki and Boom and hit enter and run that last comment.
So let's see how these CK2 tab and up our key works in our Linux machine.
Let's clear the screen.
So the first command I want to show you is let's say if you have C, H, M, M or D, this is the Kamat.
So what if I just take out a, c, h, o and just right now I hit tab, it completes that command for
me.
What if I just do see it and hit tab twice now, it will give you all the commands you see that starts
with C H.
Now, you know, there are many other different commands that start with C, H, and you could try different
commands to see as long as you know about the commands.
Don't run and get mad that you really don't know.
Or you would.
I would recommend you run man command on that before you running it.
So another way we could check our tab if you wanted to do ls and I want to do and J a way to list all
the files.
Has Jerry and I hit tab.
You go see it.
Auto companies.
My Jerry.
Why did that.
Because most likely I only have J files starting with just one file which is this is the one J.
Let's say there are two files that starts with three files actually that starts with L Leks, Lisa and
Lois and let's see what happens when I do else and do L and hit tab twice.
It gave me all three files that start with L.
Isn't that cool.
You have to actually go into the directory, do as Marcel, look for your file.
As long as you remember the first letter and you hit tab it will give you everything that starts with
it.
Same way we'll do ls minus L and let's say for one to do desktop.
I wanted to copy into desktop.
Let's say there is this folder we have in our home direct desktop.
Right.
We could do this desk desktop type, the whole thing hit enter and go in.
Let's go one step back again.
Or we could just do a desk and hit tab and it auto completes it for you and you hit enter.
Isn't that cool.
It'll save you a lot of time.
I love this, this feature of Linux and I'm sure you're going to love it too.
Now the second one but I was talking about is the up arrow key.
So if you hit up key right now on your desktop, you'll see it will return the last command that we
ran.
If you hit it again, it will keep bringing all the commands that we ran in a sequential order.
So far we have ran so many commands and it's bringing everything.
So now, if you type the lower case, the the down key, it will bring you back to all the commands
that you ran.
So now we didn't run any command after KDDI desktop.
If we can go back again up our key desktop.
OK, so now let's say I want to do this.
Amawi to do.
Let's see what is ellis' and what is puedes and clear and one more command we will run.
Let's say date data is another command that will cover later on and you run it, it will give you the
date of your system.
So now you run a few commands, four or five commands.
Now, instead of typing all those commands you can run, you could do up Baraki.
One time, two times, three times, four times, five times, and it is bringing all the commands you
ran.
So, guys, this is what it is all about, the upper rocky and key.
I'm telling you, this is going to make things so much easier once you're going to become expert at
the end of this course.
All right.
I hope you really like this one.
And I really want you to practice this tab and up our key again and again again so you will know how
these both features work.