Hi,
I am trying to open a url in Safari through terminal in my MAC machine. I am using following command:
open -a /Applications/Safari.app Google
As soon as hit enter, this url opens in Safari but terminal doesn't block i.e. it comes out.
Then, i tried:
open -a /Applications/Safari.app/Contents/MacOS/Safari Google
same thing happens: As soon as hit enter, this url opens in Safari but terminal doesn't block i.e. it comes out.
Then i tried:
/Applications/Safari.app/Contents/MacOs/Safari Google
in this case, as soon as i hit enter, it blocks the terminal but in browser (Safari) it opens: file:///Users/Administrator/http:/google.com
How i open one url using terminal such that it opens that url properly in Safari and it blocks terminal also until i close the browser (in that case, it should come out).
I am trying to open a url in Safari through terminal in my MAC machine. I am using following command:
open -a /Applications/Safari.app Google
As soon as hit enter, this url opens in Safari but terminal doesn't block i.e. it comes out.
Then, i tried:
open -a /Applications/Safari.app/Contents/MacOS/Safari Google
same thing happens: As soon as hit enter, this url opens in Safari but terminal doesn't block i.e. it comes out.
Then i tried:
/Applications/Safari.app/Contents/MacOs/Safari Google
in this case, as soon as i hit enter, it blocks the terminal but in browser (Safari) it opens: file:///Users/Administrator/http:/google.com
How i open one url using terminal such that it opens that url properly in Safari and it blocks terminal also until i close the browser (in that case, it should come out).