Solved

BASH echo $path shows some problems

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

With the major release of Apple's 7th addition to the Mac OS X family, Mac OS X 10.6 Snow Leopard, there are a lot of enhancements which have arrived with this new OS X upgrade. With the number of enhancements and refinements I can provide deta…
Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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.

726 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