Stats

197 Contributors: 9
2017-03-24
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

Aliasing

Download bash eBook

Introduction

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.

Remarks

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