Okay.
Now it's time to customize the bash environment.
Now, as we learned previously that and as.
You can do the lip file.
So if I type l l actually l l is not a command.
It is alias from the ls.
And how did I know that?
By using the alias command.
So alias like this and press l l or type the command.
You will notice that l l equal l s minus l oc.
So that's why l l show us the same result as l as l.
Now, why is this used?
Because sometimes you wrote a long command and you provide.
You didn't need to write it over again and over again.
So you want to have, for example, Alice Dash L a and it will show us something like that.
Then we can use the alias command and put the s command equal with single quotation.
I mean the command inside a single quotation and it will be like this.
So if I type s now, it will show us L as dash l as you can see.
But you can see that if I quit from the terminal and I open it again, let's click increase the font
size.
If I type as this time you can see it will start showing us command not found.
We need to write the alias again now.
How to solve such a thing.
Now we already saw that.
If you remember from the lecture when we bought the environment variable, remember for one because
bar one is not here anymore.
So how to make things permanently available by using and modifying the bash RC file.
So actually we have the the next user inside it, we have the DOT Bash.
RC If I scroll up, as you can see, dot bash.
RC This is the non for for the non learnable or the interactive terminals.
So to bash RC and here we can put whatever values we want.
We learned about the alias, right?
So if I type us it will show us something like that.
Now if I want to an alias it so I will use an alias command k so the same alias but an alias like this.
But I need to remove the as equal.
So an alias as so as now is not found.
OC command not found.