• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: bash $PATH variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash $PATH variable


  • Subject: Re: bash $PATH variable
  • From: Justin Walker <email@hidden>
  • Date: Fri, 20 Aug 2004 14:55:42 -0700

On Aug 20, 2004, at 14:21, Markian Hlynka wrote:

For Bash you want to put this in ~/.profile

I have these two lines (among others) there:

PATH=$PATH:/Developer/Tools
export PATH


ok, I have a path as follows:

/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/teTeX/bin/ powerpc-apple-darwin-current

now, I didn't add any of this myself, though I know the teTeX installer did at least part of it.

BUT, it's not in my .profile. There is no path info of any kind in my .profile... so.... can anyone tell me where it is?

Thanks,

Markian

PS: what is bashrc for? is this a BSDism, using .profile instead of .bashrc? or what?

'.bashrc' is not a BSDism, nor is '.profile'. Read the man page ("man bash") for details about the startup protocol for 'bash' (the same holds for other shells as well; they tend to be fairly well documented, and largely system-independent).


All of your questions are answered in the man page.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |   If you're not confused,
                                       |   You're not paying attention
*--------------------------------------*-------------------------------*
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: bash $PATH variable
      • From: Markian Hlynka <email@hidden>
References: 
 >bash $PATH variable (From: Professor Leslie Smith <email@hidden>)
 >Re: bash $PATH variable (From: Michael Cashwell <email@hidden>)
 >Re: bash $PATH variable (From: Markian Hlynka <email@hidden>)

  • Prev by Date: Re: bash $PATH variable
  • Next by Date: Re: bash $PATH variable
  • Previous by thread: Re: bash $PATH variable
  • Next by thread: Re: bash $PATH variable
  • Index(es):
    • Date
    • Thread