Where To Set Path In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can set a path in Linux by using the PATH environment variable. You can do this by adding a line to your .bashrc or .profile file with the export command. For example, if you wanted to add the directory /usr/local/bin to your PATH variable, you would add this line: export PATH=$PATH:/usr/local/bin