I've got a simple script that lists a bunch of EC2 servers and automates me connecting to them. This script lives at
~/bin/ec2 My PATH looks something like:
Whenever I call
ec2 I get:
-bash: /Users/rob/ec2: No such file or directory
Unless I give it the full path, then it'll work. If I rename the script to just
ec then I can run it from anywhere like expected. Have digits in script names always been a problem like this? I'm on Mac OSX.