[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

BASH echo $path shows some problems

Posted on 2015-02-06
3
Medium Priority
?
190 Views
Last Modified: 2015-02-06
I have an older iMac which has been used to evaluate "many" different types of CLI software, some were installed to evaluate the possibility of integrating with ongoing projects.

  It appears that BASH when loading a terminal window in MAC OS X, Yosemite 10.10.1

results in Last login: Fri Feb  6 08:51:22 on ttys000
-bash: -e: command not found

When running
which svn

Open in new window


returns

/opt/subversion/bin//svn

It would probably be easier to just start over again but I have too many projects to do this right now.

Next, I echo
$PATH

Open in new window


With this result,

.nvm/v0.10.29/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/opt/subversion/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/MacGPG2/bin

My question is this where do I begin in trying to unravel this problem, I have beta versions installed for node.js and just installed homebrew,

Would it be better to uninstall homebrew then attempt to uninstall all the underlying software so I can start over?
0
Comment
Question by:freejointventure
  • 2
3 Comments
 
LVL 85

Accepted Solution

by:
ozo earned 2000 total points
ID: 40594569
Have you looked at ~/.bash_profile ?
0
 

Author Comment

by:freejointventure
ID: 40594688
Yes, I see something that suggests a swap file crashed and still exists, E325: ATTENTION
Found a swap file by the name ".bash_profile.swp"
0
 

Author Closing Comment

by:freejointventure
ID: 40595074
Provided insight into where to begin correcting an issue, thank you.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
Most folks would know the basics of how Dropbox works, so that’s not the purpose of this article. Security is what it’s all about, so here I’ll share how I choose to secure my Dropbox Account and the Data it contains.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question