Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox Bookmark and Share

Info command, Linux

From RZWiki


Image:linux-logo-large.png

A CLI command available on most Linux platforms; used to display info documents.

Contents

Image:Vm-power-on-medium.png Usage Syntax

info [options] [node [subnode...]]

Common options include;

  • -f filename - display the specified file
  • --vi-keys - use vi and less key bindings

A node contains text describing a specific topic at a specific level of detail. Nodes are organised in a heirarchical, directory tree fashion with parent nodes containing subnodes.

Image:Vm-power-on-medium.png Usage Examples

info - display the top level info directory menu

info gpm - display the gpm node (information on the gpm program)

info gpm Overview - display the gpm subnode Overview

Image:accessories-text-editor-v2-medium.png Usage Notes

Image:Preferences-desktop-keyboard-shortcuts-medium.png Operational Keys

There are a great deal of key commands used to navigate within the info program. A short list of basic and common commands follows, for a full list refer to the Info Command Key Commands article.

  • font color=limegreenn/font - Next info page (same node level)
  • font color=limegreenp/font - Previous info page (same node level)
  • font color=limegreene/font - Move to the end of the current node text
  • font color=limegreenh/font - Display help
  • font color=limegreenu/font - Move up to parent node (one level)
  • font color=limegreenb/font - Move one page/screen up the current node text
  • font color=crimson[TAB]/font - Move the cursor to the next cross-reference/link
  • font color=limegreen[SPACE]/font - Move one page/screen down the current node text
  • font color=red[DELETE]/font - Move one page/screen up the current node text
  • font color=red[BACKSPACE]/font - Move one page/screen up the current node text
  • font color=limegreenq/font - Quit info
  • font color=limegreen?/font - Display key command summary
  • font color=dodgerblue[CTRL]/font+font color=limegreenG/font - Exit command entry mode

Image:accessories-text-editor-v2-medium.png Linux Usage Notes

With most Linux or Unix commands;

  • Non root users may need to prefix commands with the sudo command, for example: sudo chmod 644 *
  • Brief help can be displayed using the -h or --help parameter, for example: chmod --help
  • A full command manual can be displayed using the man command followed by the command name, for example: man chmod
  • Sometimes 'info' pages are used instead of or to provide more information than man pages; for example: info chmod
  • Version information can normally be display using the -v, -V or --version parameter, for example: chmod --version. However, this paramater is also frequently used to display verbose output.

noinclude/noinclude

Image:Folder-medium.png Related Files

The info executable is normally found here: /usr/bin/info

The files read and used by the info command are gzip compressed files generally stored in the /usr/share/info directory.

Image:icemon-medium.png Related Commands

info performs a similar function to the man command

Image:icemon-medium.png Related Articles

Information on other Linux commands Image:Tux-small.png

Information on F5 BigIP commands Image:F5-logo-small.png

Information on Cisco commands Image:Cisco-logo-small.png

Information on Vyatta commands Image:Vyatta-logo-small.png

Information on Extreme commands Image:Extreme-logo-small.png

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to sjiveson#routerzone.eu
(replacing the # with an @)


Site Toolbox:

Personal tools
This page was last modified on 4 June 2009, at 12:45. - This page has been accessed 14 times. - Disclaimers - About RZWiki
Powered by MediaWiki