I'm teaching myself UNIX, here, and I've written a shellscript that works fine if I use it while in the /bin directory, but if I try to use it from another directory, I get 'command not found'.
echo $PATH shows me the /bin folder
find shows me that the script is actually in that folder
my .cshrc file has its PATH set to that folder
I don't know what's going wrong. I have a script that someone else wrote that seems to work fine wherever it's used (though I don't want to test that, as it's a script that dumps the contents of the ls file onto someone else's screen - not very nice. My friend wrote it to show me scripting, and has a rather retaliatory sense of humour). but I can't see any difference between the basics of his script and mine.
Please help? I wouldn't be surprised if this is some really stupid error (it's what generally happens when you're teaching yourself) but I can't figure it out.