LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 06-16-2013, 11:12 PM   #1
hjohnson933
LQ Newbie
 
Registered: Jun 2013
Posts: 3

Rep: Reputation: Disabled
path variable


does anyone know which one of the plethora of files holds the initial path. I have found many places where the path is modified but am having trouble running down the file that holds the starting path.

Thanks
 
Old 06-16-2013, 11:43 PM   #2
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Rep: Reputation: 158Reputation: 158
/etc/login.defs has the starting definition. Look for ENV_PATH and ENV_SUPATH. Then it is further modified in /etc/profile. A user's own .profile or shell login script might also change it.
 
Old 06-17-2013, 12:47 AM   #3
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Rep: Reputation: 158Reputation: 158
Depending on your distro and version, you may have a /sbin/initscript or /etc/initscript where an initial PATH could be set.
 
Old 07-07-2013, 12:41 PM   #4
hjohnson933
LQ Newbie
 
Registered: Jun 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Sorry for the delay, but I have a strange job that can eat up a lot of my time during storm season. But thanks for the help.
 
  


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
Add path to $PATH variable alaios Suse/Novell 2 04-19-2009 09:41 AM
bash script path issue - how to pass a path as a string to a variable PiNPOiNT Programming 5 04-17-2009 06:48 PM
Path Variable answerme Linux - Newbie 6 04-19-2008 03:35 AM
PATH variable suavecu Linux - Software 11 01-28-2006 01:44 AM
$path variable ? moby Linux - Newbie 3 06-01-2004 04:18 PM


All times are GMT -5. The time now is 08: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration