title: Using a Single system() Call to Execute Multiple Commands in C
body: <p>In an information security lab I'm working on, I've been tasked with executing multiple commands with a single call to "system()" (written in C, running on Fedora).  What is the syntax that will allow me to execute more than command through system()?  (The idea being you could execute arbitrary commands through a program running on a remote computer, if the program interacts with the OS through the system() call.)</p>
  
  <p>I.e.:</p>
  
  <pre><code>char command[] = "????? \r\n"; 
  system(command);
  </code></pre>