|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Terminal > "-bash: command not found" for almost anything!! Mac OS X Snow Leopard
Hi friends,
I'm using Mac OS X Snow Leopard. whenever I try almost any command at Terminal, I come across an annoying message like: -bash: unzip: command not found this is a sample for i tried unzip, but it happens for so many other command as well so what is that? do I need to install anything to make terminal work with these commands? Appreciate helps! thanks
__________________
I love my :apple : ) Macbook Pro 17'' unibody Anti-Glare, Intel Core2Duo 2.80GHz, 4GB DDR3, 500GB, NVIDIA GeForce 9600GT 512MB GeForce 9400M + |
|
|
|
0
|
|
|
#2 |
|
Sounds like the path variable may have gotten befuddled. Try running the following,
Code:
/bin/echo $PATH Code:
/opt/local/bin:opt/local/sbin:/Applications/MAMP/bin/php5/bin:/Applications/MAMP/Library/bin:/Applications/Adobe AIR SDK/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin |
|
|
|
0
|
|
|
#3 |
|
Code:
/bin/echo $PATH Code:
/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/opt/subversion/bin/:PATH
__________________
I love my :apple : ) Macbook Pro 17'' unibody Anti-Glare, Intel Core2Duo 2.80GHz, 4GB DDR3, 500GB, NVIDIA GeForce 9600GT 512MB GeForce 9400M + |
|
|
|
0
|
|
|
#4 | |
|
Quote:
You want to modify the PATH line above so the final word is $PATH, not just PATH. |
||
|
|
0
|
|
|
#5 |
|
In addition to the above, the change could have been made in a .profile folder in your home directory. This file and those mentioned by belvdr are hidden files so you will not see them in Finder unless you have hidden files shown. You may not have edited these files, some programs will edit them too, but if that's the case then they have a typo to fix.
To open these hidden files from Terminal, Code:
/usr/bin/pico filename Code:
open -t filename |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Booting is so slow: Mac OS X Snow Leopard | IndianSteveJobs | Mac OS X | 15 | Jul 16, 2012 08:23 PM |
| Will Stronghold 1 for mac work on snow leopard? | j.burris | Mac and PC Games | 11 | May 24, 2011 03:31 PM |
| Streaming movies- G5 (w/ Leopard, for free) vs. Mac Pro (w/ Snow Leopard, not free) | ra4oasis | Mac Pro | 13 | Feb 18, 2011 06:43 PM |
| "Bash: command not found" for almost anything | willabtsm | Mac Basics and Help | 5 | Jan 5, 2011 03:22 PM |
All times are GMT -5. The time now is 01:37 AM.







Linear Mode

