title: export not working in my shell script
body: <p>I have two scripts 1.sh and 2.sh.</p>
  
  <p>1.sh is as follows:</p>
  
  <pre><code>#!/bin/sh
  variable="thisisit"
  export variable
  </code></pre>
  
  <p>2.sh is as follows:</p>
  
  <pre><code>#!/bin/sh
  echo $variable
  </code></pre>
  
  <p>According to what I read, doing like this (export) can access the variables in one shell script from another. But this is not working in my scripts. Can somebody please help. Thanks in advance.</p>