What is the consequence of the period in this line of bash script?

I am running a bioinformatics web application in a computing cluster and I am trying to fix some problems. Webapp launches a predefined shell script that passes cluster computing parameters (stored in a file with a name defaultJobRunner.shbefore running computational-intensive work.

For each task created, an accompanying shell script is created that contains the following line:

[ -f "/home/galaxy/defaultJobRunner.sh" ] && . /home/galaxy/defaultJobRunner.sh

I understand that this is a short form for "if the file in square brackets is an ordinary file, then run it. What I do not understand is the function or value of this period between &&and/home/galaxy/defaultJobRunner.sh

+3
source share
1 answer

source. /home/galaxy/defaultJobRunner.sh, . ()

+4

All Articles