So an alias in your terminal is a shortcut to a command, or command with arguments.
For example, Brendan has an alias for ll
(double L) that does the ls -l
command. Which as we showed will display a list of files vertically in your terminal instead the hard-to-read horizontal way.
These are extremely handy for when you see yourself doing the same command over and over, just make an alias!
To do so, we're going to add it to your profile file. This file is run everytime you start a new session in your terminal (so starting terminal, or a new tab).
Open up terminal. Type in: