Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Setting my environmental PATH
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="xstep" data-source="post: 1052156" data-attributes="member: 11647"><p>It sounds like what you are being told is to add the path where cufflinks and cuffcompare are located to your PATH environment variable. This is done so that you can just type either of those names in the Terminal and the system can find them and execute them. Otherwise you have to type the full path to execute those executables.</p><p></p><p>How you set the path is dependent on the shell being used. The default shell for OS X is now Bash. To add a path to the PATH environment variable is done like this;</p><p>[CODE]export PATH=$PATH:/Users/Shared[/CODE]</p><p></p><p>When you type a command that resides in that last path, you no longer have to type the whole path. Note also, that the shell searches through the paths in the order that they appear. This is important to know when you have two commands with the exact same name.</p><p></p><p>Do a 'man bash' in the Terminal and look under the 'INVOCATION' section. You'll note that if you add your export command to one of three possible login shell files, that you will not have to type that command every time you start the shell.</p></blockquote><p></p>
[QUOTE="xstep, post: 1052156, member: 11647"] It sounds like what you are being told is to add the path where cufflinks and cuffcompare are located to your PATH environment variable. This is done so that you can just type either of those names in the Terminal and the system can find them and execute them. Otherwise you have to type the full path to execute those executables. How you set the path is dependent on the shell being used. The default shell for OS X is now Bash. To add a path to the PATH environment variable is done like this; [CODE]export PATH=$PATH:/Users/Shared[/CODE] When you type a command that resides in that last path, you no longer have to type the whole path. Note also, that the shell searches through the paths in the order that they appear. This is important to know when you have two commands with the exact same name. Do a 'man bash' in the Terminal and look under the 'INVOCATION' section. You'll note that if you add your export command to one of three possible login shell files, that you will not have to type that command every time you start the shell. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Setting my environmental PATH
Top