What happens when you store this alias in ~/.bash_profile?
alias command allows you to create keyboard shortcuts, or aliases, for commonly used commands.
alias pd="pwd" creates the alias
pd for the
pwd command, which is then saved in the bash profile. Each time you enter
pd, the output will be the same as the
- The command
source ~/.bash_profile makes the alias
pd available in the current session.
Each time we open up the terminal, we can use the