1 View Path First
Command: $PATH
2 How to set path
Command: Echo "Export path=xxxxxx: $PATH" >> ~/.bash_profile
Explanation: Print "Export path=xxxxxx: $PATH" output to ~/.bash_profile.
3 Unix Knowledge Supplement: ~/.bash_profile Introduction
Mac and Linux endpoints are typically parsed using bash. When bash finishes reading the/etc/profile of the overall environment variable and calls the other configuration file, the user-defined personal profile is then read. There are three types of files that bash reads:
~/.bash_profile ~/.bash_login ~/.profile
In fact bash Restart is read only one of the above files, and the order of reading is in accordance with the order above. In other words, read bash_profile will not read the back, if Bash_profile does not exist, the latter can have the opportunity.
Let's take a look at what's inside Bash_profile:
Command: Cat ~/.bash_profile
unfortunate marriage 35-year-old my marriage and children what should I choose mature must know 7 big sexy raiders to hold the man's heart office romances should be well-mastered Rich marry frequent blind date hard to find true love-rich looking for ducks My husband is carrying my lover home, Jiangxi hometown ancestor worship 20 years of marriage, my husband and I are strangers can I get divorced? My husband is addicted to cheating and won't divorce lonely what should I do husband is not sometimes women also have to learn to live a person-Soho Rich Entertainment Club, provide the latest rich information the wife was adultery with her neighbour, and after her husband's wrath.-Soho Rich Entertainment Club, provide the latest rich information Oral: Five years of marriage I live a miserable life with my wife and slaves-Soho Rich Entertainment Club, provide the latest rich information man dissatisfied sister-in-law and brother-in-law affair intimidation sister-in-law was sued-Soho Rich Entertainment Club, provide the latest rich news animal stepfather sexually invaded girls for many years, after years of exposure-Soho Rich Entertainment Club, provide the latest rich information 2015 The latest rich net, rich woman find men, rich find ducks, find rich rich pack "qq810125889"-Chuns Meixe find rich rich net Su-FU wealthy Entertainment club-rich bag to raise the net, 2015 of the latest mainland wealthy elder sister find the most complete information, the most true, the most wealthy woman to support the site 2015 The latest rich net, rich woman find men, rich find ducks, find rich rich pack "qq810125889"-Chuns Meixe find rich rich net Su-FU wealthy Entertainment club-rich bag to raise the net, 2015 of the latest mainland wealthy elder sister find the most complete information, the most true, the most wealthy woman to support the site unfortunate marriage 35-year-old my marriage and children what do I have to choose-rich woman pack to raise a man-Chuns Meixe find Rich net mature must know 7 big sexy raiders to hold the man heart-rich pack raise man-Chuns Meixe find Rich net office romances should be well------rich men--Chuns Meixe looking for rich wives Rich marry frequent blind date hard to find true love-rich looking for ducks-Chuns Meixe find Rich net My husband carries my lover home in Jiangxi hometown ancestor worship-rich woman pack raise man-Chuns Meixe find Rich net 20 years of marriage, I'm a stranger to my husband. Can I get divorced?-rich man-Chuns Meixe to find rich net Husband cheating addiction and won't divorce lonely I what to do-rich woman pack to raise a man-Chuns Meixe find Rich net husband is not sometimes women also have to learn to live a person-Soho Rich Entertainment Club, provide the latest rich information the wife was adultery with her neighbour, and after her husband's wrath.-Soho Rich Entertainment Club, provide the latest rich information Oral: Five years of marriage I live a miserable life with my wife and slaves-Soho Rich Entertainment Club, provide the latest rich information man dissatisfied sister-in-law and brother-in-law affair intimidation sister-in-law was sued-Soho Rich Entertainment Club, provide the latest rich news animal stepfather sexually invaded girls for many years, after years of exposure-Soho Rich Entertainment Club, provide the latest rich information Shanxi richest man appearing public said and Muong not community-Soho Rich Entertainment Club, provide the latest rich information Henan wealthy Zhengzhou BMW woman why for parking charges hit?-Soho Rich Entertainment Club, provide the latest rich information My husband betrayed me for 5 years, and I'm soft-hearted again with him and good-Soho Rich Entertainment Club, provide the latest wealthy news My husband betrayed me for 5 years, and I'm soft-hearted again with him and good-Soho Rich Entertainment Club, provide the latest wealthy news Rich News-Chuns Meixe find Rich net divorced Beijing Rich woman wrapped up lover cheat digger let me have nothing-rich find ducks-Chuns Meixe find rich rich net after my marriage, my secret lover asked me to get divorced-rich woman looking for ducks-Chuns Meixe to find rich net Oh, my God, why am I a fragile woman who has to endure two divorces-rich women looking for ducks-Chuns Meixe a divorced woman tells a sad story about her husband's affair-rich women looking for ducks-Chuns Meixe looking for rich net
MAC Configuration Environment variables