How to modify the PATH variable and make it executable?
Answer Posted / kaustubh
In shell we can set any env variables in .bashrc file,
.bash_profile file in the user directory or fin /etc/bashrc
by setting variable name PATH(here)
and then export
example
PATH=$home/bin/
export PATH
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why is shell scripting important?
What is the syntax of "nested if statement" in shell scripting?
What's the difference between scripting and coding?
What is the use of echo in shell script?
What are the four fundamental components of every file system on linux?
Explain about return code?
What does it mean to debug a script?
How does ls command work?
What is awk in shell script?
What is shell chemistry?
determine the output of the following command: echo ${new:-variable}
Write down the syntax for all the loops in shell scripting.
What happens when you type ls?
What are script files?
What does path stand for?