If you're like me and live in the terminal, creating shortcut commands known as aliases for regularly accessed directories can save you a bunch of time. You create these aliases in your .bash_profile. Let me show you how.
For me, before I created an alias, accessing my directory that contained all my school documents was a chore... this is what it looked like.
cd ~/Documents/Documents\ -\ Cadell’s\ MacBook\ Air/UTT\ year\ 1\ semester3
To make life easier, I created an alias in my bash profile. First I opened it using:
Now with my .bash_profile file opened up, I can insert the alias command.
alias school="cd ~/Documents/Documents\ -\ Cadell’s\ MacBook\ Air/UTT\ year\ 1\ semester3/"
From here, all I need to do is save that file and relaunch terminal. Now to access my school files all I need to do is launch the school shortcut like so:
The software industry moves fast. But if you keep up, you can have an incredible career.