Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Messed Up Terminal Bash Please Help!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RJDavis" data-source="post: 1130939" data-attributes="member: 176866"><p>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:</p><p></p><p>[CODE]</p><p>cat > ~/.profile</p><p>PATH=$PATH:/usr/local/bin/</p><p>[/CODE]</p><p></p><p>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:</p><p></p><p>[CODE]</p><p>Last login: Tue Oct 26 14:33:43 on ttys000</p><p>-bash: adsfasdfasdfhelp: command not found</p><p></p><p>[Process completed]</p><p>[/CODE]</p><p></p><p>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.</p></blockquote><p></p>
[QUOTE="RJDavis, post: 1130939, member: 176866"] 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/ [/CODE] 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] [/CODE] 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]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Messed Up Terminal Bash Please Help!
Top