LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2003, 09:04 PM   #1
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Rep: Reputation: 15
PATH Location


This is a really simple question, but where do I find my PATH?

Cheers,
Dan
 
Old 08-26-2003, 09:27 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
su to root user in a shell

echo $PATH
 
Old 08-26-2003, 09:43 PM   #3
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Original Poster
Rep: Reputation: 15
On a related issue, how do I edit what my PATH points to? (I'm trying to install something that demands a JRE in the PATH)

Cheers,
Dan
 
Old 08-26-2003, 11:03 PM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
Look in the files .bash_profile and .bashrc in your home directory to find out which one contains your current path. Then add to the end a colon followed by the path to the JRE
 
Old 08-27-2003, 05:17 PM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
I'm trying to install something that demands a JRE in the PATH
If you want to add to the PATH environment variable, take a look at these threads.
http://www.linuxquestions.org/questi...threadid=82056
http://www.linuxquestions.org/questi...threadid=80417
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: location in location eantoranz Linux - Networking 2 08-08-2005 10:37 PM
Path of xinit; window managers location; root's home; frankie_DJ Solaris / OpenSolaris 4 08-02-2005 04:46 AM
How to show your location / path? Echo Kilo Linux - General 2 12-19-2004 02:40 PM
PATH file location corbis_demon Linux - Newbie 1 10-08-2004 06:34 AM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 07:10 PM


All times are GMT -5. The time now is 03:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration