Skip to content

Instantly share code, notes, and snippets.

@samuelastech
Created February 26, 2023 02:31
Show Gist options
  • Save samuelastech/4bb93e751a585ec30989be52e032312c to your computer and use it in GitHub Desktop.
Save samuelastech/4bb93e751a585ec30989be52e032312c to your computer and use it in GitHub Desktop.
Open up chrome tabs from CLI
#!/bin/bash
webpages=(
"https://dictionary.cambridge.org/dictionary/"
"https://www.oxfordlearnersdictionaries.com/us/"
"https://context.reverso.net/traducao/"
"https://synonyms.reverso.net/synonym/"
"https://tophonetics.com/"
"https://translate.google.com/"
)
# Start a chrome session
google-chrome
for page in "${webpages[@]}"
do
google-chrome "$page" --new-tab
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment