Software >> OS >> Unix >> Solaris >> 11 >> shell >> bash >> How to define command aliases for the user using bash as shell

add into ~/.bashrc

alias myalias='cd /mydirectory'