I know similar questions have been asked before on here (for example: How to add a directory to the PATH?)
However, I don't know what to add and where to add this.
If I open
~/.profile, it looks like this:
# if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi # set PATH so it includes user's private bin directories PATH="$HOME/bin:$HOME/.local/bin:$PATH"
Now I want to add a directory to this
How can I add this permanently?