Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

From command line, how to know which Firefox version is installed in windows/linux?

I need to know which Firefox version is installed on my system from command line of Windows or Linux.

like image 276
SmartSolution Avatar asked Jan 10 '11 07:01

SmartSolution


People also ask

How do I tell what version of Firefox I have Linux?

On the menu bar, click the Firefox menu and select About Firefox. The About Firefox window will appear. The version number is listed underneath the Firefox name.

How do I know if Firefox is installed on Linux?

In the latest versions of Firefox on Windows or Linux, click the “hamburger” menu in the upper-right corner (the one with three horizontal lines). In the bottom of the drop-down menu, click the “i” button. Then click “About Firefox.” The small window that appears will show you Firefox's release and version number.

How do I know if Firefox is installed on Windows?

Windows program listingOpen Windows Settings, click on System, then Apps & features. This will show you a list of software that is currently installed on your computer. To see if the 32-bit or 64-bit version of Firefox is installed, locate Mozilla Firefox in the list of programs.


1 Answers

According to this link, it seems that the -v argument (and more) is broken on Windows. If you follow the bug link on the site, it seems there is a workaround. I quote the comment:

Workaround (works with Firefox, Thunderbird, and, I suppose, other programs too):

<program-name> -h | more 

The bug happens because, without redirection, the program releases its stdout before handling the -help parameter. With redirection, stdout is not released and you can see the output.

So for example for Firefox:

C:\Program Files (x86)\Mozilla Firefox>firefox -v | more Mozilla Firefox 3.6.13, Copyright (c) 1998 - 2010 mozilla.org 

It works for me at least. Without | more I get nothing printed. On Linux it works with or without the piping.

like image 53
Nömmik Avatar answered Sep 21 '22 23:09

Nömmik