Solved

BASH echo $path shows some problems

Posted on 2015-02-06
3
150 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

In certain circumstances, a Microsoft Office mac application may fail to save a document to a network server, with the following error message: "There has been a network or file permission error. The network connection may be lost." An article at…
Connectivity using SMB Symptoms When connecting to Windows Server shares from a Mac you receive an error similar to "Connection failed because the original item could not be found"Authentication persistently fails to a Windows Server from a Mac wi…
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.

696 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