In this lab, you will browse GNU Info documentation using command-line tools.
Outcomes
Understand program documentation in the GNU Info node system.
Perform the following steps on serverX unless directed otherwise.
Invoke pinfo without arguments.
[student@serverX ~]$pinfo
Navigate to the Common options topic.
Use UpArrow or DownArrow until
(coreutils) Common options
is highlighted. Press Enter to view this topic.
Browse through this info topic. Learn if long-style options can be abbreviated.
Use PageUp and PageDown to navigate through the topic. Yes, many programs allow long options to be abbreviated.
Determine what the symbols -- signify when used as a command argument.
The symbols -- signify the end of command options
and the start of command arguments in complex commands
where the shell's command-line parser might not correctly make the distinction.
Without exiting pinfo,
move up to the GNU Coreutils node.
Press u to move up to the top node of the topic.
Move up again, to the top topic.
Press u again. Observe that when positioned at the top of a topic node, moving up returns to the directory of topics. Alternately, pressing d from any level or topic will move directly to the directory of topics.
Search for the pattern nano and select that topic.
Press / followed by the search pattern “nano”. With the topic highlighted, press Enter.
In the Introduction, locate and select Command Line Options.
Browse the topic.
Press Enter to select Introduction, then
DownArrow and Enter to select
Command Line Options. Use the arrow keys to browse the topic.
Move up one level to return to Introduction. Move to the next topic.
Press u to move up one level. The new location will be
nano's topic 1 Introduction. Now press n.
You will have moved to nano's topic 2 Editor Basics.
Exit pinfo.
Press q to quit pinfo.
Invoke pinfo again, specifying nano
as the destination topic from the command line.
[student@serverX ~]$pinfo nano
Select the Editor Basics topic.
Press DownArrow to highlight Editor Basics, then
press Enter to select this topic.
Read the Entering Text and Special Functions subtopics.
Use arrow keys to highlight a topic, PageUp and PageDown to browse the text, then press u to move up one level. Press q to quit pinfo when you are finished.