title: Executing commands in a series in ubuntu terminal
body: <p>Suppose I have a set of commands to be executed in ubuntu terminal:
  for eg:</p>
  
  <pre><code>sudo apt-get update
  sudo install xrdp 
  sudo install java
  .....
  </code></pre>
  
  <p>and many others.</p>
  
  <p>Is it possible in ubuntu to execute the file containing these commands and execute without human intervention (like yes/no) , by default yes?</p>
  
  <p>I tried installing wine , executing $wine cmd /c Commands.bat , after putting all these commands in .bat file but getting errors "Application tried to create a window, but no driver could be loaded."
  So, is there any simple way of executing a series of commands in ubuntu?</p>