linux add to path
export PATH=$PATH:/place/with/the/file
Source: opensource.com
how to add a directory in path linux
# For this Purpose you have to edit ~/.bashrc file. # So in terminal: nano ~/.bashrc # Now add this command to the file and instead of ADDRESS, # write your desired address export PATH=$PATH:ADDRESS # Like: export PATH=$PATH:/usr/local/hadoop
linux add to path
#Ubuntu 20.04: echo 'export PATH=$PATH:$HOME/Android/Sdk/emulator' >> ~/.bashrc #update current shell source ~/.bashrc
Source: askubuntu.com
how to add a directory to path in linux
export PATH="$HOME/bin:$PATH"
Source: linuxize.com
add path to path linux
#Go to etc/ $ sudo nano environment #Add at the end of the actual PATH : :/some/new/path #Then use the command to make it active without restarting $ source environment