Solved

BASH echo $path shows some problems

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Are you new to OS X?  This helpful advice could get you quickly up to speed if you are making the transition from windows or totally new to OS X. Finder gives you the visual connection between you and the files located on the hard drive of your A…
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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.

776 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