Shell aliases are a simple way to create new commands or to wrap existing commands with code of your own. They somewhat overlap with shell functions, which are however more versatile and should therefore often be preferred.
The alias will only be available in the shell where the alias command was issued.
To persist the alias consider putting it into your .bashrc