cd /tmp
vim test.sh
#!/bin/bash
echo "test me"
I have edited a file named test.sh.
./test.sh
test me
The . means current directory which is /tmp here, ./test.sh can execute it.
Why . test.sh can execute it too,there are several blank whitespace between . and test.sh?
. test.sh
test me