Download bash eBook


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

Related Examples


197 Contributors: 9
Friday, March 24, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook