Open multi urls in Chrome macOS

Create new shell script file

nano chrome.sh

chrome.sh

urls="
https://google.com
https://stackoverflow.com
"
for url in $urls
do
open -a 'Google Chrome' $url
done

Set permission

chmod +x chrome.sh

Start script

./chrome.sh

@nhancv

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store