bash aliases

An alias is a custom nickname for command or or series of commands joined in a pipeline. Aliases are added to the .bash_aliases file in your home folder. They are accesible after new shell restart.

Example: Create a new alias in ~/.bash_aliases:

alias cal1="xargs cal -A 1 -B 1"
Open a new shell and execute the command that will use the alias:
$ echo "7 2021" | cal1
     June 2021             July 2021            August 2021       
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  
       1  2  3  4  5               1  2  3   1  2  3  4  5  6  7  
 6  7  8  9 10 11 12   4  5  6  7  8  9 10   8  9 10 11 12 13 14  
13 14 15 16 17 18 19  11 12 13 14 15 16 17  15 16 17 18 19 20 21  
20 21 22 23 24 25 26  18 19 20 21 22 23 24  22 23 24 25 26 27 28  
27 28 29 30           25 26 27 28 29 30 31  29 30 31