New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Messed Up Terminal Bash Please Help!


Post Reply New Thread Subscribe

 
Thread Tools
RJDavis

 
Member Since: Oct 26, 2010
Posts: 2
RJDavis is on a distinguished road

RJDavis is offline
Hey everyone. I did something very noob like that I need help with. I was trying to run the Prolog compiler, gprolog, from GNU through terminal and could not get it to work. I found an article about adding executables to the system path and tried doing something described in the comments. The exact command that I entered was:

Code:
cat > ~/.profile
PATH=$PATH:/usr/local/bin/
I should have done a little more research before entering this but I did. After that came up, it allowed me to enter text and of course I entered a random set of characters. I didn't realize that these changed would stay after I restarted. Now all my terminal displays is:

Code:
Last login: Tue Oct 26 14:33:43 on ttys000
-bash: adsfasdfasdfhelp: command not found

[Process completed]
It will not allow me to enter any commands or type anything at all. And yes, I deleted the com.apple.Terminal.plist file but the problem still persists.
QUOTE Thanks
RJDavis

 
Member Since: Oct 26, 2010
Posts: 2
RJDavis is on a distinguished road

RJDavis is offline
Problem solved! I searched for my .profile using Onyx and edited it. Now everything works fine.
QUOTE Thanks

Post Reply New Thread Subscribe


« what is mDNSResponder.? | Flashing folder w/ question mark :( »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problems with terminal Vladswe OS X - Operating System 0 12-30-2009 06:03 PM
Airdisk Messed up by Terminal! The Vindicat3d OS X - Operating System 0 03-21-2008 04:14 PM
terminal is messed up germpest OS X - Development and Darwin 11 06-22-2006 02:55 AM
My Terminal is messed up. edokid Switcher Hangout 8 11-16-2004 02:42 AM
Awk Scripts - bash terminal? soulredeemer OS X - Development and Darwin 1 04-04-2004 02:03 PM

All times are GMT -4. The time now is 02:41 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?