Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
 
PREVIOUS NEXT
Tagged: #add #directory #path #linux
ADD COMMENT
Topic
Name
2+3 =