What's the difference between executing a script like this:
./test.sh
and executing a script like this:
. test.sh?
I tried a simple, two-line script to see if I could find if there was a difference:
#!/bin/bash
ls
But both . test.sh and ./test.sh returned the same information.
Thanks.