title: Adding alias to bashrc to run multiple commands and pass a variable?
body: <p>Not good at creating aliases but I have several commands to run and I want to do them all at once.</p>
  
  <pre><code>$ activator
  $ clean
  $ compile
  $ run 9002
  </code></pre>
  
  <p>I would like to combine all of these commands into a single command like:</p>
  
  <pre><code>$ activate 9002
  </code></pre>
  
  <p>Normally I think I would know how to do this but the issue here is that it will need to wait until the previous command finishes and the prompt returns. Also, if I do an <code>$ activate 9000</code> then the last command would run <code>$ run 9000</code></p>
  
  <p>Is there a way to do this in my alias?</p>