Skip to main content

Settting up PATH Environment Variables


HOW TO EDIT PATH VARIABLES IN MAC - 

1. Open terminal and enter the following command  - 
touch ~/.bash_profile; open ~/.bash_profile
This will open the bash_profile in text editor 

2. Add the following line to the end of the file adding whatever additional directory you want in your path:
export PATH="$HOME/.rbenv/bin:$PATH"

3. Save the .bash_profile file and Quit (Command + Q) Text Edit.

4. Force the .bash_profile to execute. This loads the values immediately without having to reboot. In your Terminal window, run the following command.
source ~/.bash_profile

Voila ! You are done. 
Check your Path vars by typing echo$PATH in the editor.   

Multiple path environment variable setup with bash -

export PATH="A"
export PATH="$PATH:B"
export PATH="$PATH:C"

Comments

Popular posts from this blog

How to Use Chisanbop (Korean Finger Math) for Basic Addition and Counting | eHow.com

How to Use Chisanbop (Korean Finger Math) for Basic Addition and Counting eHow.com Difficulty: Easy Instructions Step 1 In Chisanbop you'll be using your two hands and ten fingers to represent numbers from 0 to 99. Start out with your hands out in front of you with closed fists. This represents 0. Each finger (not thumb) on your right hand represents 1. To represent 3, just press down three right hand fingers. Your right thumb represents 5. To represent 7, press down your right thumb and 2 right hand fingers. Think of your right hand as the ones or units place (column). Step 2 Your left hand represents the tens place (column). Each finger on your left hand is worth 10. For example, to represent 30, press down three left hand fingers. To represent 38, do the same, but also use your right hand to represent 8 as described above. Your left thumb represents 50. To represent 86, press down your left thumb and three left hand fingers for the 80, and your right thumb and one righ...

SQL, Report Generation Processs

Step 1. Export SQL result in to an csv file Step 2. Report Validation ( Through Excel ) ------------- The lifeline for any business intelligence solution is the process called extract, transform, and load (ETL). According to a recent survey by The Data Warehousing Institute (TDWI), ETL design and development work consumes 60 to 80 percent of the resources of an entire BI project. Selecting an ETL solution that fits your needs is an essential first step in building a successful data warehouse.