path variable

How To Read / Print $PATH Shell Variable

by Vivek Gite on January 13, 2008 · 0 comments

Q. I’m new to Unix / Linux and I’d like to print current values of $PATH variable. How do I read $PATH from a shell prompt?

{ 0 comments }

Q. I just need a help to show me how to setup java path on Linux. How can I set JAVA_HOME and PATH variables for every user under my Linux system? A. ~/.bash_profile is a startup script which generally runs once. This particular file is used for commands which run when the normal user logs [...]

{ 53 comments }