15 min
Let's get some practice with modifying our .bash_profile by creating some useful command aliases.
- Create an alias so that anywhere in the terminal you can type
classand it will automaticallycdinto your WDI code directory - Create an alias to
cddirectly into a projects directory inside of your WDI code folder
- Open up your
.bash_profilein the editor by typing the commandatom ~/.bash_profile - Remember that you can create an alias for any command by following the format:
alias [alias_name]="[command_to_run]" - Anytime you modify the
.bash_profile, you need to remember to eithersource ~/.bash_profilethe file or run the commandreloadfor the new changes to take effect