What does this command mean in a shell script? What is the functionality of writing this command in the shell script??
. /opt/pat/staging/config/VARIABLES>>/dev/null
What does this command mean in a shell script? What is the functionality of writing this command in the shell script??
. /opt/pat/staging/config/VARIABLES>>/dev/null
Sources the file in order to load the variables into your current environment and sends only stdout (not stderr) to /dev/null
(black hole, if you will).
To send both stdout and stderr you would do >/dev/null 2>&1
.