Why do digits in bash script names screw up path lookups?
- by cannikin
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:
/Users/rob/bin:/Users/rob:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Whenever I call ec2 I get:
-bash: /Users/rob/ec2: No such file or…