How to modify the PATH variable and make it executable?
Answer Posted / shailendra kumar tiwary
we can set PATH by using export PATH command.
ex:-
PATH=/opt/j2sdk1.4.2_04/bin:............
export PATH
and to make it executable we can set the same
in ".bash_profile".
To execute it ". .bash_profile"
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How do we create command aliases in a shell?
How does ls command work?
Explain about return code?
How to find duplicate record in file using shell script?
What is awk in shell script?
How do I save a powershell script?
Explain about sourcing commands?
How to set an array in linux?
How can I send a mail with a compressed file as an attachment?
How do I open the shell in cmd?
What is @echo off?
Why is shell scripting important?
What is bash shell command?
What's the difference between scripting and coding?
When should shell programming/scripting not be used?