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


Please Help Members By Posting Answers For Below Questions

What is the use of echo in shell script?

539


How does shell scripting work?

611


What does the sh command do?

604


What is difference between shell and bash scripting?

541


What is scripting used for?

558






When should shell programming/scripting not be used?

590


What is another name for a bash shell script that you might see?

1010


How do we delete all blank lines in a file?

575


What language is shell scripting?

579


How will you connect to a database server from linux?

553


Is shell scripting difficult?

555


What is .sh file in mac?

553


What is the significance of $#?

586


Can we run shell script in windows?

579


What is bash shell command?

557