This recipe shows how to read the man page of the fortune
command using the man
command.
The "official" Raspbian Linux distribution comes with a large amount of documentation built into the system. There are three primary sources of built-in documentation: man pages, Info documents, and the /usr/share/docs
directory.
After completing this recipe, you will able to read the man page documentation built in for the Raspberry Pi.
The following are the ingredients:
If the Raspberry Pi is connected to a network, and its Secure Shell server is running, this recipe can be completed remotely using a Secure Shell client.
Most command-line utilities have a man page. There are also man pages for configuration files and software libraries. All the man pages are accessible using the man
command.
For more information, use the man
command to read its own man page as follows:
man man
It is also possible to search the library of man pages using the apropos
command (or the –k
option of the man
command). The apropos
command searches the man pages database for keywords and returns a list of man pages.
In the preceding screenshot, the apropos command (man –k
) found the man page for pianobar when searching for the keyword music
.
http://manpages.debian.net/cgi-bin/man.cgi?query=apropos
The Debian man page for apropos
.
http://manpages.debian.net/cgi-bin/man.cgi?query=man
The Debian man page for man
.
3.15.156.140