Skip to content

Instantly share code, notes, and snippets.

@Joopmicroop
Created February 2, 2018 15:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Joopmicroop/e38cdc7240e103025f997bf7dcc9e45d to your computer and use it in GitHub Desktop.
Save Joopmicroop/e38cdc7240e103025f997bf7dcc9e45d to your computer and use it in GitHub Desktop.
bash open urlList in Chrome
#!/bin/bash
if command -v chrome 1>/dev/null; then
chromeUrlList=(
"https://google.com"
"https://gmail.com"
)
# create subShell
( chrome ${chromeUrlList[*]} &>/dev/null 2>/dev/null & )
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment