title: ubuntu shell script restart jar
body: <p>I need to write a shell script that closes a running .jar and reopens it in terminal.  I've never written a shell script and don't really know where to start.</p>
  
  <p>Here's the command I use to run the app in terminal.</p>
  
  <pre><code>java -jar '/home/fdqadmin/NetBeansProjects/dbConvert2/dist/dbConvert2.jar' --Terminal=true
  </code></pre>
  
  <p>I'm running Ubuntu 10.04 LTS.</p>