Sponsored Content
Operating Systems Linux Red Hat Finding version of firefox in directory Post 302991443 by Corona688 on Friday 10th of February 2017 03:17:32 PM
Old 02-10-2017
Interesting suggestion. awk is a lot more functional than cut fyi, you can replace all the kitchen | sink | commands with one awk.
Code:
zcat file.gz | awk '{ gsub(/[\(\)]/, ""); print $2 ; exit }'

This User Gave Thanks to Corona688 For This Post:
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell Command for finding out Firefox version

Hi I need a shell command for finding out Firefox browser verion on linux machine. Waiting for your reply. Thanks and Regards, Kammy. (0 Replies)
Discussion started by: kjannu
0 Replies

2. UNIX for Dummies Questions & Answers

Need Shell script for getting Firefox Browser Version

Hi, How to write a script for finding out firefox version in our linux machine? Could you please share the same? I am using Red Hat Linux machine. Thanks, Kammy (2 Replies)
Discussion started by: kjannu
2 Replies

3. UNIX for Dummies Questions & Answers

Finding file version info

Hi, Is there a standard command for retrieving the version of any given file (assuming the file has a version)? Thanks in advance Dave :) (1 Reply)
Discussion started by: davewg
1 Replies

4. UNIX Desktop Questions & Answers

Finding USB version on command line

Would anyone happen to know what to grep for finding the version of the USB ports are on the system through the command line? Thanks. (1 Reply)
Discussion started by: eightysix
1 Replies

5. Web Development

Finding which firefox thread is misbehaving

Hello, I am trying to find out how to determine which firefox thread is connected to what site. Using: top -H shows the threads but not what they are connected to. The purpose of this is that some sites run nasty cpu eating programs and trying to figure out which ones. Thanks, mgb (1 Reply)
Discussion started by: mgb
1 Replies

6. UNIX for Advanced & Expert Users

Help with finding the right version

Hi, This is real nube like. I want to gt back to some C programming in Unix using an old Armada E500 using Unix V release 4. I've been away from programming and working with Unix for many years, but would like to get into it again. I have a couple of good reference books. If someone could... (3 Replies)
Discussion started by: StashO
3 Replies

7. Solaris

Finding the NIC driver version on Solaris 11

In Solaris 10 it was easy, a simple grep through modinfo output and you'd have the version of any loaded module, including your NIC drivers. In my career I've seen many people relying on this information in their scripts. Now I'm on Solaris 11, and where have the version numbers gone? The... (0 Replies)
Discussion started by: cambridge
0 Replies

8. UNIX for Dummies Questions & Answers

Firefox version

Hello, I'm trying to find the version of Firefox that is on my server. Normally I do this. > firefox -version Mozilla Firefox 10.0.7 The issue is that this version of Firefox, is Firefox ESR 10.0.7. I need to be able to see, from the command line, the version of Firefox and if it is a ESR... (8 Replies)
Discussion started by: bitlord
8 Replies

9. Shell Programming and Scripting

Copy a file from directroy/ prior version to the directory/ new version

How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies
FIREFOX(1)							Linux User's Manual							FIREFOX(1)

NAME
firefox - a Web browser for X11 derived from the Mozilla browser SYNOPSIS
firefox [OPTIONS] [URL] DESCRIPTION
Mozilla Firefox is an open-source web browser, designed for standards compliance, performance and portability. USAGE
firefox is a simple shell script that will set up the environment for the actual executable. OPTIONS
A summary of the options supported by firefox is included below. GTK options --gdk-debug=FLAGS Gdk debugging flags to set --gdk-no-debug=FLAGS Gdk debugging flags to unset --gtk-debug=FLAGS Gtk+ debugging flags to set --gtk-no-debug=FLAGS Gtk+ debugging flags to unset --gtk-module=MODULE Load an additional Gtk module X11 options --display=DISPLAY X display to use --sync Make X calls synchronous --no-xshm Don't use X shared memory extension --xim-preedit=STYLE --xim-status=STYLE --g-fatal-warnings Make all warnings fatal Firefox options -h, -help Show summary of options. -height value Set height of startup window to value. -width value Set width of startup window to value. -v, -version Print /usr/bin/firefox-bin version. -CreateProfile profile Create profile. -P profile Start with profile. -ProfileManager Start with profile manager. -UILocale lang-region Start with lang-region resources. -contentLocale lang-region Start with lang-region resources. -remote command Execute command in an already running Firefox process. For more info, see: http://www.mozilla.org/unix/remote.html -no-remote Don't try to control an already running instance. -jsconsole Start with Javascript Console -chrome url Load the specified chrome. -new-window url Open URL in a new window if Firefox is already running. -new-tab url Open URL in a new tab if Firefox is already running. -preferences Open Firefox preferences menu. -safe-mode Disables extensions and themes for this session. FILES /usr/bin/firefox - shell script wrapping firefox /usr/lib/firefox/firefox - firefox executable VERSION
3.0 BUGS
To report a bug, please visit http://bugzilla.mozilla.org/ SEE ALSO
mozilla(1) AUTHORS
The Mozilla Organization http://www.mozilla.org/about.html firefox January 04, 2006 FIREFOX(1)
All times are GMT -4. The time now is 05:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy