Linux Commands Examples

A great documentation place for Linux commands


Fast and secure web browser and Internet suite


opera [options] [URL...]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


BROWSER=$(which gnome-www-browser || which x-www-browser || which firefox || which www-browser)
if [ "$BROWSER" = "" ]; then
gnome-www-browser /usr/bin/iceweasel 70 \
--slave /usr/share/man/man1/gnome-www-browser.1.gz \
browser=$(which gnome-www-browser || which x-www-browser || which firefox || which www-browser)
if [ "$browser" = "" ]; then


Opera is a graphical Web browser available on several platforms. The desktop version described in this manual page runs on GNU/Linux and FreeBSD. Versions for Windows and MacOS X are also available.

bug reports

If you find a bug in Opera please report it to

command line options

These support both double and single dash as prefix. Several other options are also supported, notably including many generic X Toolkit options; see --help output for details.

Use path as personal configuration directory (ignore default location).

--remote command

Send command to an existing Opera window. See "REMOTE COMMANDS" section below.


Start Opera without internal e-mail client (also disables chat and newsfeeds).


Do not open a saved window session or homepage.


Suppress X shape-extension for widgets, to make their full underlying rectangle visible (useful for debug).


Do not open any document windows.


Display version information and exit.

-h, --help

Print option summary and exit.

configuration directory

Private data for each user is stored in a personal configuration directory. By default this is ~/.opera but you can override this by setting OPERA_PERSONALDIR (for example in your login shell’s standard configuration file) to a location of your choosing; or by passing a chosen directory with the --personaldir command-line option. For the most part it is best to access the files in this directory via the preference and appearance dialogs - accessed either from the Tools menu of the Opera user interface or via a keyboard shortcut: type Alt+P for the main preferences dialog, Shift+F12 for the appearance dialog or simply F12 for a menu of the more commonly set basic preferences from each. (You can control Opera entirely from the keyboard, including any of these dialogs; to dismiss a dialog, use the Esc key.)

Most files in the directory have names which express their functions. Many of them have backups saved in *.bak files. The file operaprefs.ini in this directory records most user preferences. Entries in it can override the locations of some of the other files; this description relates each to its default location. A fuller account of the operaprefs.ini file may be found at Bookmarks are recorded in bookmarks.adr, and global browsing history is recorded in global.dat; browsing histories for individual tabs are a part of the session state saved as files in sessions. In this sub-directory, the state of the current session is saved in; other sessions may be saved (see the Sessions sub-menu of the main File menu) to other files in this directory. It is prudent to save such a named session before starting up Opera with a radically new version (especially if it is a beta release).

environment variables


Override default personal configuration directory


Use owner-only permissions for all files created (as if by umask 077) if set to YES, TRUE (case insensitively matched) or 1. Otherwise honour umask setting in the normal way.


Override the operating system name. If set, Opera will use this value as part of the User Agent string instead of trying to detect the operating system.

files and directories


Installation directory for Opera binaries, with a separate plugins sub-directory for plugins.


Opera shared resource directory. Contains assorted data files.


Default settings for Opera configurations; may be overridden by the operaprefs.ini in a user’s personal configuration directory.


System settings for Opera configurations; cannot be overridden by users.


The default personal configuration directory.

remote commands

Since commands include parentheses, which have special meaning to the shell, it is important to enclose remote commands in quotes, like --remote ’openURL()’ so as to prevent the shell from interpreting the parentheses. In the following, destination is one of new-window for a new window, new-page for a new page (or tab) or background-page for a new background page (opened in an inactive new tab).

Open "Go to" dialog box prompting for input.


Open URL in active window.


open URL in destination window, tab or background.


Open file selector in destination window or page (background not supported).


Open Opera mail client list view in a new window.


Open Opera mail composer in a new window.


Add URL to bookmark list.


Raises the Opera window.


Lowers the Opera window.

see also

Output from opera --help for a fuller list of supported options. for an on-line account of the supported options. for more general on-line help (also available via the Help menu on Opera’s main toolbar).


This program was written by Opera Software ASA Please refer to /usr/share/doc/opera/copyright for more information.

How can this site be more helpful to YOU ?

give  feedback