Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-25-2003, 03:24 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 9

Rep: Reputation: 0
PATH variable file


can someone tell me about the file in the home directory that contains the PATH variable, what does it do, and how do we inspect its value
Old 09-25-2003, 03:44 AM   #2
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,302

Rep: Reputation: 65
it can be in any file that is executed on startup of the shell

type set|more
hit enter
view away.
Old 09-25-2003, 04:13 AM   #3
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
echo $PATH

For global settings, you might want to check out /etc/profile.d/.

Adding new folders to your path is done with:
export PATH="$PATH:/some/other/path"


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PATH variable jk21 Linux - Newbie 1 09-28-2004 02:48 PM
$path variable ? moby Linux - Newbie 3 06-01-2004 03:18 PM
PATH Variable in Mandrake JoeDuncan Linux - Distributions 4 12-27-2003 01:05 PM
why is my PATH variable screwed up? apberzerk Linux - General 2 11-07-2003 11:18 PM
the path variable mjkramer Linux - Newbie 4 10-18-2003 07:18 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:50 AM.

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