|
|
command not found
Okay, I'm baffled. Saved this into my ~/bin directory. chmod 755 itunes. rehashed. Command not found. Closed all Terminal instances and tried again. Command not found.
[open-131-161-241-7:~] shacker% rehash [open-131-161-241-7:~] shacker% which itunes /Users/shacker/bin/itunes [open-131-161-241-7:~] shacker% itunes itunes: Command not found. [open-131-161-241-7:~] shacker% echo $PATH /Users/shacker/bin/powerpc-apple-darwin:/Users/shacker/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin [open-131-161-241-7:~] shacker%This makes no sense. What am I missing? There are other things in my ~/bin that work fine. What the heck?
Very strange
I had mine in /usr/local/bin, but just moved it to check. Works fine, and my path matches yours (more or less; it includes the ~/bin, which is what counts).
command not found
I am having the same problem as robg.
command not found
The command which is not found is probably not the itunes script, since "which" found it with no problems. Look at system executables that this scripts calls: /bin/sh, and osascript. Try "which"ing each of them and see if the machine has trouble finding either. Dollars to donuts it'll be osascript that's the offender, since I'd be pretty baffled if you managed to get an OS X installation without /bin/sh.
command not found
[localhost:~] taran% which osascript
command not found
Check your script for typos
solved! - command not found
I'm guessing you had the same problem as me - it has to do with the line breaks in the file you copied over. I selected the text on the macosxhints page, and dragged it over into BBEdit. "command not found"
"option" not found
hi
"option" not found
>> echo \"Usage: `basename $0` <option>\";
"option" not found
it's a little more complicated than that. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.10 seconds |
|