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
What is subshell?
How to debug the problems encountered in the shell script/program?
How to write a function?
Where are cowrie shells found?
Explain about debugging?
What is the syntax of "nested if statement" in shell scripting?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
Why do we write bin bash in shell scripts?
How to get the 3rd element/column from each line from a file?
What is meant by $1 in shell script?
write a shell script to check the failed jobs?
Can shell script run on windows?
Explain about sourcing commands?
What is the best shell scripting language?
What is bash command used for?