Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firefox openURL : OSX Command Line

Tags:

macos

firefox

Context

I want to open a Firefox browser from the command line and have it go to youtube.com

I have tried: open /Applications/Firefox.app --args -remote "openURL(www.youtube.com, new-tab)"

It successfully opens a Firefox, but does not navigate to youtube.com

Question:

How do I fix this?


1 Answers

open -a Firefox 'http://www.youtube.com/'

like image 77
LaC Avatar answered Sep 08 '25 10:09

LaC