How to use info command.


What is info command?

In Linux, the "info" command typically refers to the Info documentation system. Info is a specialized format for documentation that is commonly used for GNU software and other projects. It provides a hierarchical and interactive documentation viewer that allows you to navigate through different sections and topics of documentation.

Options for info command:

  • -a, –all: It use all matching manuals.
  • -k, –apropos=STRING: It look up STRING in all indices of all manuals.
  • -d, –directory=DIR: It add DIR to INFOPATH.
  • -f, –file=MANUAL: It specify Info manual to visit.
  • -h, –help: It display this help and exit.
  • -n, –node=NODENAME: It specify nodes in first visited Info file.
  • -o, –output=FILE: It output selected nodes to FILE.
  • -O, –show-options, –usage: It go to command-line options node.
  • -v, –variable VAR=VALUE: It assign VALUE to Info variable VAR.
  • –version: It display version information and exit.
  • -w, –where, –location: It print physical location of Info file.

Syntax:

info [OPTION]... [MENU-ITEM...]

Examples:

-a : It use all matching manuals and display them for a particular command.

 info -a cvs

-k : It look up STRING in all indices of all manuals and then display the same.

 info -k cvs

-d : It adds DIR to INFOPATH and also display the same.

 info -d cvs

-O : It go to command-line options node for a particular command and display the same.

 info -O cvs

-w Command : It print physical location of Info file.

 info -w cvs

Note:

  • To check for the manual page of info command, use the following command:
    man info

  • To check the help page of info command, use the following command:

    info --help

At NexonHost, we believe that everyone deserves to have their services and applications be fast, secure, and always available.

Follow us

Quick Links

Newsletter

Be the first who gets our daily news and promotions directly on your email.

Copyright © 2025 . All Rights Reserved To NexonHost.