Used to configure the bash terminal. You can define commands here.
- Add how to modify bash command line headding.
Adding an Alias (shortcut)
- Open the
bashrcfile. The bashrc file is located in a user’s home directory (
~means home directory). The following command will open the
bashrcfile found in the user’s home directory.
TODO: Add example of how the bashrc file looks like.
- Add an
aliasfor a certain command. An
aliasis a word that stands for something. Here i defin python to point to a specific version of python. Instead of
$ pythonpointing to a default
pythonthat is installed. I am makign the command
$ pythoncall the python2.7 executable.
alias python=/usr/local/bin/python2.7 alias pip=/usr/local/bin/python2.7/site-packages/pip
- Load bashrc again. (Note alias that were defined previously that you deleted will still apear since they were not cleared. This commadn will only redefine already made aliasas or create new aliadsd that are new.)
- 2020.06.10 Created file
Adding an Alias (shortcut)section