Display program’s info entry with info command

by Daniel Pham
Published: Updated:
This entry is part 8 of 9 in the series Linux commands: Part 5 - Working with commands

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 program's info entry using 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.

Recommended Reading: Display brief description of commands using “whatis” command

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.

(This is an article from my old blog that has been inactive for a long time, I don’t want to throw it away so I will keep it and hope it helps someone).

0 0 votes
Article Rating
Series Navigation«« Previous part: Use whatis to display brief description of commandsNext part: Use alias command to create custom commands »»

You may also like

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

DevOps Lite is a personal blog specializing in technology with main topics about DevOps, DevSecOps, SRE and System Administrator. Articles are shared for free and contributed to the community.

SUPPORT US

FOLLOW US

Subscribe my Newsletter for new blog posts. Stay updated from your inbox!

© 2021-2024 DevOpsLite.com – All rights reserved.

Please write sources “DevOpsLite.com” when using articles from this website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

2
0
Would love your thoughts, please comment.x
()
x

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.