Solved

BASH echo $path shows some problems

Posted on 2015-02-06
3
147 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 84

Accepted Solution

by:
ozo earned 500 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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.

856 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