Variable in Shell/Alias
Here is a simple demo function showing how to use variable in an alias. show(){ ls *.$1; } Use it like - show variablename Example - show png