Question: what is the difference between source and bash?
Answer: The only difference is in portability. . is the POSIX-standard command for executing commands from a file; source is a more-readable synonym provided by bash and some other shells. bash itself, however, makes no distinction between the two. They are not the same. ... But will affect if source was used.