title: Windows Beep() equivalent for Linux
body: <p>I am experimenting with Beep function on Windows:</p>
  
  <pre><code>#include &lt;windows.h&gt;
  ...
  Beep(frequency, duration);
  </code></pre>
  
  <p>The computer then beeps with some frequency for some duration. How would I do this on a Linux computer?</p>
  
  <p>Edit: It IS important to output different frequencies.</p>