Display program’s info entry with info command

Share this post to your friends !

This entry is part 8 of 9 in the series Linux commands: Part 5 - Working with commands
Display program’s info entry with info command
5 (100%) 1 vote[s]

WriteBash - This article will learn about the info command. The info command is used to display program’s info entry.

You have read about the man command, whatis command, apropos command. Now we will learn more about a similar command. Command info.

Use info command to display program’s info entry

The GNU project provides an alternative to man pages for their programs, which is info.

The info page displays a content frame for the reader with complete information and presented as a hyperlink.

This is the difference between the usual man page and the info page.

You can understand that the content in the info page is divided into pages (we call it node). These nodes link together via hyperlink.

And so, you can access other content nodes like accessing a normal HTML website without css.

The first example with the info command

Now try typing the command below and see if the window appears like this.

~ $ info mkdir
display-programs-info-entry-with-info-command Display program's info entry with info command
Display program’s info entry using info command.

Pay attention to the underlined lines. These are hyperlinks in the info page.

You can use the arrow keys on the keyboard, move to those hyperlinks and press Enter to access the link.

And now you can read the information in the info page you want.

Remember: Move the arrow key to the underline, click Enter to access the link.

The command table of the info command

Unlike web browsing in the browser, you can click. In the terminal window, you must use the keys on the keyboard.

The table below gives you the command of what info command contains.

Press KeyAction
?Display command help.
PgUp or BackSpaceDisplay previous page.
PgDn or SpaceDisplay next page.
nn in the next word. Display the next node.
pp in the previous word. Display the previous node.
uUp – Display the parent node of the currently displayed
node, usually a menu.
EnterFollow the hyperlink at the cursor location
qQuit

I cannot describe all of the keys above, the only thing I can say is that you rely on it and practice.

You yourself will understand how those keys work.

Conclusion

The info command is practically unnoticed and used. The useful use of these commands in Linux sysadmin work is very little.

However, as I said, knowing something more is better and it doesn’t hurt at all.

Continue reading the series«« Previous part: Use whatis to display brief description of commandsNext part: Use alias command to create custom commands »»
If you liked this article, then please subscribe to our YouTube Channel for more video tutorials. You can also find us on Twitter and Facebook.


Share this post to your friends !
If you appreciate what we share in this blog, you can support us by:
  1. Stay connected to: Facebook | Twitter | Google Plus | YouTube
  2. Subscribe email to recieve new posts from us: Sign up now.
  3. Start your own blog with SSD VPS - Free Let's Encrypt SSL ($2.5/month).
  4. Become a Supporter - Make a contribution via PayPal.
  5. Support us by purchasing Ribbon Lite Child theme being using on this website.

We are thankful for your support.

single post bottom banner
«« »»

Got something to say? Join the discussion

Please keep in mind that all comments are subject to our Comment Policy. Your email address will not be published.
This site uses Akismet to reduce spam. Learn how your comment data is processed.