title: Export variable via xterm and run script
body: <p>I have *.sh script and I would like send xterm with variable and run script. How do I must define this command.</p>
  
  <p>script name : </p>
  
  <blockquote>
    <p>lolo.sh</p>
  </blockquote>
  
  <p>variable : </p>
  
  <blockquote>
    <p>FILES2=/home/lo/plop/</p>
  </blockquote>
  
  <p>My xterm:  </p>
  
  <pre><code>xterm ; FILES2=/home/lo/plop ; export FILES2 ; lolo.sh
  </code></pre>
  
  <p>In sh script I have one line </p>
  
  <blockquote>
    <p>export FILES2</p>
  </blockquote>
  
  <p>Thank you</p>