First, we need to make some definitions of what terms used for documentation are necessary:
The /usr/share/doc directory contains much of the documentation for
a Linux distribution and several applications in the form of HOWTOS, FAQs,
README files, installation guides, and user manuals.
The /usr/share/doc/howto subdirectory has nearly 2000 pages of
documentation detailing various tasks step by step.
Here’s an example:
3Dfx-HOWTO.html
AI-Alife-HOWTO.html
Acer-Laptop-HOWTO.html
Alpha-HOWTO.html
Bash-Prog-Intro-HOWTO.html
Benchmarking-HOWTO.html
(…)
This type of documentation is useful when you don’t know how to get started.
a particular task or what tools should be used.
Information about almost all software packages installed on the system can be found in the /usr/share/doc/packages subdirectory. This information may include files with different contents such as README, INSTALL, CHANGES, INFO, FAQ, etc.
How-tos may not always be installed in the distribution, and their path may be different.
An interesting source of
Consult the info pages. This documentation was developed by the project
GNU covers most of the project’s tools.
To access this
documentation, you must use the info command followed by the command name
desired. See an example, typing the command in the shell:
# test info
The info allows navigation between related topics. For
Browse the info, just find a “link” consisting of the symbol “*” and a
Word and hit the enter key.
To move to the next content page, type “N” (Next) and,
to go back, type “P” (Previous). The “q” key exits the info.
The info command without any arguments lists all pages.
existing.
# info
The manual pages accompany almost every
GNU/Linux programs. They provide a basic description of commands and details.
about how your options work.
A manual page is
viewed as a single text with vertical scrolling. It also documents
parameters used in some configuration files.
The manual documents are divided into sessions according to the
subject discussed. The sessions are numbered from 1 to 9, as follows:
It is possible that the same word can refer to a function of
programming, command, or configuration file. In this way it is important
find out in which session we will find the desired documentation.
Each page of the manual is divided into parts:
To access the manual, the command is the man followed by the item searched for.
Optionally, the session number can be passed as a parameter.
# Man Passwd
Neste
For example, man views the manual for the passwd command, belonging to session 1.
# Man 5 Passwd
In this example, man will display the manual for the /etc/passwd file.
Navigation within the manual pages is done using the
keys:
Arrow Up
Arrow
r Redesign the screen (refresh);
The help resource
Quick is useful to know what options can be used with a particular
command. Almost all GNU/Linux programs offer this feature for
quick inquiries. To trigger the online help, type:
# [command] —help
For example:
# ls —help
Do you want to know if a certification is worthwhile? Learn why salaries are good, and why companies are looking for Linux professionals.
You’ll understand that the benefits far outweigh the sacrifice.
And if you’ve made up your mind, check out our Certification Guide.
And if you want to know where to take the tests, check the list of cities.
If you want to know the language of the exams, check out this post.
Learn much more about Linux in our online course. You can enroll here with a free 7-day trial. If you already have an account, you can log in here.
The sudo command on Linux executes a given command as if it were another user.…
The ss command on Linux is extremely useful for investigating sockets, providing various information about…
Free Linux command shows the amount of total memory in use and available, as well…
The shell has structures for testing conditions and executing certain program sequences several times (loop),…
The /etc/fstab file stores the configuration of which devices should be mounted and what is…
The Netcat Command in Linux or nc is a utility used to do “almost anything”…
This website uses cookies.