In ubuntu when I just open a terminal and say "firefox -v" or "konqurer -v" it prints all the version information.

But, I am not able to find how to go about this for

  1. Chromium on Linux & Windows (7) [Couldn't get to work with this link and this link
  2. Firefox on Windows (7)
  3. IE on Windows (7)

Previously on Windows xp executing "someexe.exe /?" used to show help and command line options for that exe. But it doesn't seem to be working for Windows 7. I tried "Chrome.exe /?" and it just starts chrome.

I know how to get it in GUI, but please don't ask what is my point. I just want to know it for fun!

Help please!

link|improve this question
feedback

3 Answers

It depends on the linux flavor, but if its an RPM-Based OS (RedHat & its darivities mainly)

  rpm -qa | grep browsername 

usually does the trick.

link|improve this answer
Awesome! I was looking for the debian version of it. #apt-cache policy packagename or #apt-cache madison packagename Apt-cache doesn't require "sudo". – sanksjaya Aug 18 '10 at 22:47
Thanks! Post here if you have an answer for doing the same from Windows CMD (command-line) utility. – sanksjaya Aug 18 '10 at 22:48
1  
So you can get the version of IE (tested in xp): reg query "hklm\software\microsoft\internet explorer" | findstr /i version – natxo asenjo Aug 20 '10 at 17:57
1  
so of google chrome (installed as a normal user): C:\>reg query HKEY_CURRENT_USER\Software\Google\Update\Clients\{8A69D345-D564-463c-AFF1-A69D9E‌​530F96} | findstr /i pv – natxo asenjo Aug 20 '10 at 17:58
feedback

Per Technet, there is no way to get the IE version from the command line on Windows. The "-v" switch is UNIX-only.

link|improve this answer
feedback

I can't find a version command line switch for Chrome in Windows; in general the command line switches begin with -- rather than a single -, and a good list of known ones appears here: http://www.waltercedric.com/component/content/article/1713.html

link|improve this answer
Cool. Thanks! But there doesn't seem to be one to check the build version. – sanksjaya Aug 19 '10 at 3:05
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.