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
What is the way to do multilevel if-else's in shell scripting?
How do I run a .sh file?
How do I start a shell script?
What is meant by dos operating system?
Write the syntax for "if" conditionals in linux?
What does the sh command do?
What command needs to be used to take the backup?
What does $0 mean in shell script?
Write down the syntax of "for " loop
What is the fastest scripting language?
What is the best shell scripting language?
Calculate a real number calculation directly from the terminal and not any shell script.
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
What will happen to my current process when I execute a command using exec?
Differentiate between ‘ and ” quotes.