title: Starting up a screen (unix command) + running a command in 1 command?
body: <p>Was wondering how I can start up a command such as:</p>
  
  <pre><code>while :; do ./myCommand; done;
  </code></pre>
  
  <p>But instead of doing the usual</p>
  
  <pre><code>screen -S nameOfMyScreen
  </code></pre>
  
  <p>Then the command</p>
  
  <pre><code>while :; do ./myCommand; done;
  </code></pre>
  
  <p>Then detach the screen</p>
  
  <pre><code>^a ^d (Control "a" the control "d"
  </code></pre>
  
  <p>I would like it to start and detach.  Thanks!</p>