Created
April 26, 2016 10:49
-
-
Save hoangddt/0c92ba60ec8df2336e93513282153c31 to your computer and use it in GitHub Desktop.
Add folder to Path on linux (Ubuntu 14.04)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit .bashrc in your home directory and add the following line: | |
export PATH="/path/to/dir:$PATH" | |
# You will need to source your .bashrc or logout/login (or restart the terminal) for the changes to take effect. | |
# To source your .bashrc, simply type | |
source .bashrc | |
# when in the home directory. | |
# Note: change `~/.zshrc` file instead if use zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment