add path in linux home code example

Example 1: linux add to path

export PATH=$PATH:/place/with/the/file

Example 2: 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

Example 3: display folder of path linux bashrc

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ '
                                                                                       ^^
           this one waaaaaay over here ------------------------------------------------+