Benches Uncategorized

1

Starting Safari with command-line options

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I am an old Unix Hacker who just started with Mac. Since scripting is an important

part of old-school UNIX, I do many things via scripting.

My question is: Is there a way to start Safari from the command line using command-line

options that will allow Safari to open up multiple tabs with each tab pointing to a pre-defined

URL?

Thanks,

msprewitt

1 reply

Sign in or join Beachball Help to reply.

  1. 0

    Ahsan

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi,

    Type this in terminal,

    open
    http://www.google.com
    http://www.yahoo.com

    It will open the two web pages in two tabs. man open for more option.