우분투에서 경로를 추가하는 방법
# Edit .bashrc, or .zshrc in your home directory and add the following line:
export PATH="/path/to/dir:$PATH"
$ source ~/.bashrc
source ~/.zshrc
경로 리눅스에서 디렉토리를 추가하는 방법
# 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