You might notice that we entered Cube Style Command multiple times, and in my opinion such command
is relatively long and we are able to create Alias for such command in order to save some time in the
future.
And we could alias cube style command to just single letter K and afterwards we will enter such commands
as K get put.
But now if I enter such command, I'll get the command not found error because I have not yet created
any aliases on Linux like operating systems.
You could very easily create Alias by entering command alias.
Next will be alias for the command then equal sign and after equal sign in double quotes you could write
command which you would like to alias in our example cube style.
If you are a Windows user and if you are using PowerShell, this command will not work there.
If you want to get similar to mine experience in command line, I recommend to you to install Git bash.
In order to install it, please navigate to get a same com and simply download it.
If it is already installed on your Windows computer, you already have access to it bash.
It is another terminal.
If you don't have git installed, please go to Windows section here and download Git for Windows.
Here are different links to it and after installation please open git bash terminal instead of the PowerShell.
So I already have alias command available in this terminal on macOS.
Therefore I will be able to create such an alias.
Let's create ls alias was created and now I'm able to utilize just short version of the command k get
ports and now I see output no resources found in default namespace.
From this point on, I will utilize such short version of the CTL command, but please notice that such
areas will live only during this session in the terminal after a load of the computer or when you open
up another terminal session, this will be gone.
If you would like to create a permanent alias, of course it is possible to do.
In order to perform such a task, you have to edit your shell configuration profile.
But I will not do that right now.
It's enough to have just temporal alias.