Other Help Topics :: Firefox from command line?



In the latest version of DSL I can't start Firefox from the Aterm command line
copy it to the bin didn't work. I'm stucked here.. Help me please. (new user)

type 'locate firefox' then find where it is, ls the dir it tells you, make sure its there, then type the full path to it, ie. /usr/local/bin/firefox-bin

or

/usr/local/bin/firefox

if you want it to background, use & after it, ie.

/usr/local/bin/firefox &
this will give you your terminal back.

Just an aside - I think you need gnu-utils installed and then run updatedb to use locate.
Does typing "which firefox" return the path to it (not on dsl at the moment)?

If the command is in your path, the command to use it whereis

whereis firefox

If not in your path then I would use the find command.

find / -name firefox

There are many options for find. It is definately worth learning them.

locate does need gnu-utils and updatedb which create a searchable database.
Not something you should do in a live or OCI environment, as it would use up ram space.

Ah yes...You are correct, you will need those. And yes, 'which' or 'whereis' will return the full path (if its in your path). ;)
Next Page...
original here.