title: Terminal command to open new Safari window
body: <p>Opening a link in Firefox from Terminal is pretty straightforward and there are many options available to the <code>firefox</code> <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options" rel="nofollow">command</a>. E.g you can do <code>firefox -new-window "http://stackoverflow.com"</code> to open the link in a new window.</p>
  
  <p>I wonder if you can do the same with Safari on a Mac? <code>open "http://stackoverflow.com"</code> just opens a new Tab if there's already a window of Safari opened.<br>
  I know of apps that let you switch between "Open in new tab" and "Open in new window". Is there a special prefix to the URL to tell Safari to open a new window? Or is it just possible through Objective-C code?</p>