I am trying to create a shell script i can run from anywhere in the terminal,
the script simply echoes a message
#!/bin/bash echo "Excellent work Snake!"
I changed the scripts permissions with
chmod 775 test.sh
the script is in my documents, i made a symbolic link to /usr/bin with
ln -s ./test.sh /usr/bin
when i run the script from home for example, instead of the message echoing, nothing happens, e.g.
babbleshack@babbleshack ~ $ test babbleshack@babbleshack ~ $
am i failing to understand something?