PDA

View Full Version : [SOLVED] How do I launch google chrome or firefox from the terminal?



mferarri
March 9th, 2012, 11:30 AM
How do I launch google chrome or firefox from the terminal?

haqking
March 9th, 2012, 11:32 AM
How do I launch google chrome or firefox from the terminal?


type


google-chrome


firefox

;-)

If your path is not set then you may need to change to directory like /opt/chrome for example.

If you dont know where they are then


whereis chrome

cheers

arochester
March 9th, 2012, 11:40 AM
Strange, my Chrome starts with the command:
google-chrome

haqking
March 9th, 2012, 11:50 AM
Strange, my Chrome starts with the command:

actually yeah you are right, i edited.

I was doing it from (poor) memory as oppose to trying it first ;-)

mferarri
March 9th, 2012, 12:02 PM
google-chrome


firefox

Thanks Haqking, these commands work for me.


If you dont know where they are then


whereis chrome

whereis chrome dosent work for me. But whereis google-chrome does.

how can i find the right name for the right applications? is there a way to grep a list of apps installed on my comp?

nothingspecial
March 9th, 2012, 12:16 PM
Hi


nothingspecial:~$ dpkg --get-selections | grep chrom
chromium-browser install
chromium-browser-l10n install
chromium-codecs-ffmpeg install
xserver-xorg-video-openchrome install

mferarri
March 9th, 2012, 01:37 PM
Hi


nothingspecial:~$ dpkg --get-selections | grep chrom
chromium-browser install
chromium-browser-l10n install
chromium-codecs-ffmpeg install
xserver-xorg-video-openchrome install


thanks nothingspecial!:popcorn:

daslinkard
March 9th, 2012, 04:04 PM
The one thing that i would add to this post is that if you want a specific site to launch with Firefox from the terminal you would type the following:


firefox google

Or you could open up several tabs at one time by doing


firefox google news.yahoo.com foxnews

Hope this helps someone!

mferarri
March 10th, 2012, 07:16 AM
The one thing that i would add to this post is that if you want a specific site to launch with Firefox from the terminal you would type the following:



Or you could open up several tabs at one time by doing



Hope this helps someone!

thanks for the tip daslinkard!

srikanthganta
October 24th, 2012, 09:30 AM
good information..but want to update the info about my Ubuntu 12.04:

>firefox
>chromium-browser
above commands are working for me
("chrome" or "google-chrome" not working)

>chromium-browser google.com news.yahoo.com foxnews.com
(.com is mandatory)