I\'m trying to create a bash script to setup my development environment. The script is running as root but I get the error line 11: ln: command not found
line 11: ln: command not found
PATH tells the shell where to look for commands. In your case, it looks for ln somewhere in /etc and predictably doesn't find it there.
PATH
ln
/etc
You should use a different name.
PATH=...
Congratulations, you've clobbered how the shell finds commands. Don't do that.