How to create aliases in windows 10

Updated: 12th December 2022
Tags: windows alias

How to create bash alias permanently ubuntu

Updated: 1th November 2021
Tags: ubuntu bash alias

Edit file ~/.bash_aliases

nano ~/.bash_aliases

For example I make alias a. So when I press a it will produce php artisan tinker Here file ~/.bash_aliases

alias a='php artisan tinker'

Load aliases immediately

source ~/.bash_aliases