define a command in bash code example Example: how to define command in bash alias yourVariable='cd /Home/yourFolder'