title: Read variable from a shell script in config file
body: <p>I have a shell script in which i have defined some variables like</p>
  
  <pre><code>Shell script.sh xyz /abc/def/cde
  
  usecase=${1}
  CONFIGDIR=${2}
  </code></pre>
  
  <p>And I have a config file in which i want to take these variables</p>
  
  <pre><code>config file
  
  USECASE=${usecase}
  CONFIG=${CONFIGDIR}
  </code></pre>
  
  <p>Can you help me how to take the variable from the shell script to config file. I am thinking to use "source" command. I am not sure if that help. Can anyone point me to the right direction?</p>