Linux, how to execute executable/non-executable?

Linux, how to execute executable/non-executable? … here is a solution to the problem.

Linux, how to execute executable/non-executable?

In Linux, how do I execute an executable/non-executable?

. myfile.sh  --- works, why?
sh myfile.sh -- doesn't work, why ?

Thanks

Solution

sh./myfile.sh should work

Related Problems and Solutions