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
How do I read a .sh file?
What exactly is a shell?
How to check if the previous command was run successfully?
how will you find the total disk space used by a specific user?
What is awk in shell script?
How to set an array in linux?
Explain about sourcing commands?
What is eval in shell script?
What is the equivalent of a file shortcut that we have a window on a linux system?
What is bash used for?
What's the difference between scripting and coding?
Why is shell scripting important?
How does shell scripting work?
What is the meaning of $1 in shell script?
How will you connect to a database server from linux?