This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new!

Author Message
Joined: Jun 13, 2008
Posts: 3
Other Topics
Posted Jun 14, 2008 at 8:04:41 PM
Subject: Command Line Firefox?
How do you launch a web browser from command line. Or any program for that matter? I have read three different tutorials and none seem to answer my question. I run OpenSUSE 10.3. I know you can do it from Windows CLI, but can you from Linux?
Back to top Profile Email Website

Joined Apr 03, 2008
Posts: 590
Location:San Francisco

Other Topics
Posted: Jun 15, 2008 6:21:12 AM
Subject: Command Line Firefox?
First you need the location of the program file. Most executables are installed in /bin, /usr/bin, /usr/sbin, or /usr/local/sbin, but these can vary. These locations should also automatically be in your PATH, so, if you wanted to execute say firefox, typing firefox or firefox & should do the trick. The second version (with the &) returns the command prompt to you after the program begins. If this doesn't work, you might need the complete path of the program. This can be discovered by typing, as root find / -name <program name>

Take the red pill

Climate Change Blog

Food Weblog

Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya