how to add a directory in path linux
export PATH=$PATH:/place/with/the/file
4.11
9
export PATH="$HOME/bin:$PATH"
Thank you!
9
0
5
2
nano ~/.bashrc
Thank you!
2
0
4.1
10
nano ~/.bashrc
Thank you!
10
0
0
0
nano ~/.bashrc
Thank you!
0
0
0
0
nano ~/.bashrc
Thank you!
0
0
0
0
nano ~/.bashrc
Thank you!
0
0
0
0
nano ~/.bashrc
Thank you!
0
0
0
0
nano ~/.bashrc
Thank you!
0
0
0
0
nano ~/.bashrc
Thank you!
0
0
0
0
nano ~/.bashrc
Thank you!
0
0
0
0
nano ~/.bashrc
Thank you!
0
0
0
0
nano ~/.bashrc
Thank you!
0
0
4.33
6
# 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
Thank you!
6
0
4
2
# 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
Thank you!
2
0
Are there any code examples left?
New code examples in category Shell/Bash