Ivan Mijatović

Ivan Mijatović

  • Work
  • Blog
  • Contact
  • Hire Me
  • Home
  • Blog
  • open Google Chrome URL from os terminal
Ivan Mijatovic
By Ivan Mijatović

open Google Chrome URL from os terminal

  • Contents
  • Executive summary
  • Try it out
  • Let us know what youthink

Learn how to open open Google Chrome URL from os terminal.

To open google chrome url from your terminal type:

open -a "Google Chrome"  "http://mijat.test/blog?q=open google chrome"

To create alias open your terminal and type

vi ~/.zshrc

and add

alias mijat='f() { open -a "Google Chrome"  "http://mijat.test/blog?q=$1 };f'

How to use it?

mijat "open google chrome"

Related Articles

  • Composer.lock diff by comparing composer.lock to the the git HEAD.

  • Percentage Tracking Line TradingView Chart

  • TinyPng Hack to Overpass 500 images per month

  • Build signed APK file with Android Studio

;
Follow me on:
  • More about me

    • Quotes that Inspire me
    • My Bookshelve
  • Tools

    • Percentage Calculator
    • Slugify
    • Hard Choices
    • Days until Calculator
    • Password Generator
    • Online Alarm Clock
    • Timestamp Countdown
  • Check me out

    • Blog
    • Work
    • Contact me
  • Latest from Blog

    • Composer.lock diff by comparing composer.lock to the the git HEAD.
    • Percentage Tracking Line TradingView Chart
    • TinyPng Hack to Overpass 500 images per month
    • Build signed APK file with Android Studio

Ivan Mijatović

  • Help