# 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
setx /M PATH "%PATH%;<your-new-path>"
export PATH="$HOME/bin:$PATH"
export PATH="$HOME/bin:$PATH"Copied!
C:> echo %PATH:;=&echo.%