calling from command line
hi
how can I called firefox from the command line, so when I type firefox in command line firefox will fire up Thank You |
As long as:
firefox is installed the exacutable is in your PATH (etc/profile) you have permissions to run it (which you should) your in X: open up a console and type ' firefox ' . Worked for me. If either this doesn't work, or I misunderstood your question, post back. -tw |
when I type firefox in command line it says command not found
what I'm trying to do is to open command line then type firefox then firefox starts |
try this, type :
find / -name "firefox" Your results should include the line: /usr/bin/firefox (<-- default install location in slack 10.2) If its found, then type: /usr/bin/firefox If it works, then you need to make sure /usr/bin is in your path. (see above post) OR you can add a alias in your .bashrc file, Or..... If it doesn't work, it may not be exacutable from some really odd reason, or something equally unexpcted. I'm guessing you can start it by an clicking on an icon, right? -tw |
this is what I got when I try find -name firefox in /
./usr/bin/firefox ./usr/lib/firefox ./usr/lib/firefox/firefox when I type /usr/bin/firefox no such file or directory the only way i can run firefox is by going to /usr//lib/firefox and click firefox from there |
Take a look at the 'alias' command -- it can help you without you needing to change your path, if you want
|
If you find where the firefox is go there and type it in the following way:
./firefox You need to have "./" before name of the program. Otherways you get the error: command not found gl /piotr |
thanks, I have it fix now
I have to tell it where I extract firefox |
try
Code:
mozilla-firefox |
All times are GMT -5. The time now is 02:48 AM. |