Created
February 2, 2018 15:33
-
-
Save Joopmicroop/e38cdc7240e103025f997bf7dcc9e45d to your computer and use it in GitHub Desktop.
bash open urlList in Chrome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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