Your company here — click to reach over 10,000 unique daily visitors

octave - Man Page

A high-level interactive language for numerical computations.

Examples (TL;DR)


octave [options]... [file]


Octave is a high-level language, primarily intended for numerical computations.  It provides a convenient command line interface for solving linear and nonlinear problems numerically.


The complete set of command-line options for octave is available by running the following command from the shell.

    octave --help


The primary documentation for Octave is written using Texinfo, the GNU documentation system, which allows the same source files to be used to produce online and printed versions of the manual.

You can read the online copy of the Octave documentation by issuing the following command from within octave.

    octave:1> doc

The Info files may also be read with a stand-alone program such as info or xinfo.  HTML, Postscript, or PDF versions of the documentation are installed on many systems as well.


The Octave project maintains a bug tracker at https://bugs.octave.org. Before submitting a new item please read the instructions at https://www.octave.org/bugs.html on how to submit a useful report.


Upon startup Octave looks for four initialization files.  Each file may contain any number of valid Octave commands.


Site-wide initialization file which changes options for all users. octave-home is the directory where Octave was installed such as /usr/local.


Site-wide initialization file for Octave version version.


User's personal initialization file.


Project-specific initialization file located in the current directory.


John W. Eaton <jwe@octave.org>

Referenced By

mkoctfile(1), octave-cli(1), octave-config(1), pamtooctaveimg(1), sox(1), soxformat(7).

19 October 2012 GNU Octave