updating $PATH variable

Discussion in 'macOS' started by macsig, Jun 4, 2009.

  1. macsig macrumors regular

    Joined:
    Oct 27, 2006
    Location:
    Marina del Rey, CA
    #1
    Hello guys,
    I need to add a folder path to $PATH variable so I googled a bit and I guess I need to update .profile file located on my home folder but I don't have any .profile file, however I have a .bash_profile. Do I have to update that?

    If so how? I mean the post I found says
    but on .bash_profile I get "

    export PATH="/usr/local/bin:/usr/local/mysql/bin:/usr/local/sbin:$PATH"

    Do I have to add the new folder within the " or I have to create a new export PATH record?


    THANKS and have a nice day!

    Sig
     
  2. macsig thread starter macrumors regular

    Joined:
    Oct 27, 2006
    Location:
    Marina del Rey, CA

Share This Page