OnWorks favicon

cindex - Online in the Cloud

Run cindex in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cindex that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



cindex - prepares the trigram index for csearch(1)


cindex [-list] [-reset] [ path... ]


Cindex prepares the trigram index for use by csearch. The index is the file named by
$CSEARCHINDEX, or else $HOME/.csearchindex.

The simplest invocation is

cindex path...

which adds the file or directory tree named by each path to the index. For example:

cindex $HOME/src /usr/include

or, equivalently:

cindex $HOME/src
cindex /usr/include

If cindex is invoked with no paths, it reindexes the paths that have already been added,
in case the files have changed. Thus, 'cindex' by itself is a useful command to run in a
nightly cron job.

The -list flag causes cindex to list the paths it has indexed and exit.

By default cindex adds the named paths to the index but preserves information about other
paths that might already be indexed (the ones printed by cindex -list). The -reset flag
causes cindex to delete the existing index before indexing the new paths. With no path
arguments, cindex -reset removes the index.


-list List the indexed paths and exit.

-reset Delete the existing index before indexing the new paths. With no path arguments,
-reset removes the index.


Cindex uses the index stored in $CSEARCHINDEX or, if that variable is unset or empty,

Furthermore, cindex honors the standard TMPDIR environment variable when creating its
temporary files. In case the temporary files exceed the space you have in /tmp, possibly
because /tmp is a tmpfs and thus using your RAM, feel free to set TMPDIR to a different
path than /tmp.

Use cindex online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OpenFOAM - The Open Source CFD Toolbox.
    OpenFOAM is a generic, programmable
    software tool for Computational Fluid
    Dynamics (CFD). For more information,
    see: - ...
    Download OpenFOAM
  • 2
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 3
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • 7
    Old Feren OS Repositories
    Old Feren OS Repositories
    This was the Official Repository for
    Feren OS. To add the latest one, run
    this command: (16.04-based) echo
    "deb ...
    Download Old Feren OS Repositories
  • More »

Linux commands