[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Diferencias
Muestra las diferencias entre dos versiones de la página.
es:howtos:general_admin:searching_and_reading_manpages_efficiently [2019/02/06 11:32 (UTC)] – creado slackwarespanol | es:howtos:general_admin:searching_and_reading_manpages_efficiently [2019/02/11 02:40 (UTC)] (actual) – ak3.devel | ||
---|---|---|---|
Línea 2: | Línea 2: | ||
<!-- Reviewed 2012-12-31 hazel --> | <!-- Reviewed 2012-12-31 hazel --> | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== | + | ====== |
- | Manpages are pages in the online Unix Manual. | + | Las páginas de manual son páginas del Manual |
- | some of you to use them more effectively, although I'm aware that many of | + | |
- | the readers are already familiar with this subject. | + | |
- | ===== Searching for a Manpage | + | ===== Buscando una página de manual |
- | In order to search for information about anything in the manpages you can | + | Para buscar información sobre cualquier cosa en las páginas de manual, puede utilizar uno de los siguientes comandos: |
- | use one of the following commands: | + | |
* '' | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | '' | + | '' |
- | them. The difference between | + | ellos. La diferencia entre '' |
- | '' | + | '' |
- | respectively) searches for parts of strings. | + | respectivamente) busca por partes de cadenas de caracteres. |
- | If you don't know how exactly a word, for example a command, is written, you | + | Si no sabe exactamente cómo se escribe una palabra, por ejemplo un comando, puede usar '' |
- | can use '' | + | |
- | would be more efficient because it results in fewer lines of output. | + | |
- | === Example | + | === Ejemplo |
- | Searching for information about DHCP: | + | Buscando mas informacion acerca de DHCP: |
- | With the '' | + | Con el comando |
< | < | ||
user@darkstar$ apropos dhcp | user@darkstar$ apropos dhcp | ||
Línea 44: | Línea 39: | ||
dnsmasq [] | dnsmasq [] | ||
</ | </ | ||
- | With the '' | + | Con el comando |
< | < | ||
user@darkstar$ whatis dhcp | user@darkstar$ whatis dhcp | ||
Línea 50: | Línea 45: | ||
dhcp [] (5) - options - Dynamic Host Configuration Protocol options | dhcp [] (5) - options - Dynamic Host Configuration Protocol options | ||
</ | </ | ||
- | For both commands, the search is case-insensitive! | + | Para ambos comandos, la búsqueda no distingue entre mayúsculas y minúsculas! |
- | ===== Updating the '' | + | ===== Actualizando la base de datos de '' |
- | The '' | + | El comando |
- | the stock Slackware installation are already present in the database. This | + | [[http:// |
- | is also true if you upgrade such packages. But if you build your own | + | |
- | packages from source, for example from | + | |
- | [[http:// | + | |
- | packages are not yet present in the '' | + | |
- | the database after installing new packages, Slackware | + | |
- | '' | + | |
- | Please note that some other distributions use the '' | + | Tenga en cuenta que algunas distribuciones utilizan el comando "mandb" para este propósito. |
- | purpose. | + | |
- | ===== Sections in the Manual | + | ===== Secciones en el manual |
- | Don't confuse these sections with the sections within the structure of each | + | No confunda estas secciones con las secciones dentro de la estructura de cada página de manual; se describen en el párrafo siguiente. |
- | manpage; they are described in the paragraph below. | + | |
- | The manpages | + | El manual |
- | extract from the manpage for the '' | + | |
< | < | ||
MANUAL SECTIONS | MANUAL SECTIONS | ||
Línea 83: | Línea 69: | ||
| | ||
</ | </ | ||
- | If the manual | + | Si las páginas del manual |
- | pass the section number as an additional argument to the '' | + | === Ejemplo |
- | === Example | + | |
< | < | ||
user@darkstar$ apropos man | user@darkstar$ apropos man | ||
Línea 98: | Línea 83: | ||
manuals with [] (7) - mdoc | manuals with [] (7) - mdoc | ||
</ | </ | ||
- | Now if you want to read the manpage about " | + | Ahora, si desea leer la página del manual sobre " |
- | section | + | |
< | < | ||
user@darkstar$ man 7 man | user@darkstar$ man 7 man | ||
</ | </ | ||
- | ===== The Structure of the Manpages | + | ===== La Estructura de las paginas de manual |
- | The manpages all have (or should have) the same structure: | + | Todas las páginas de manual tienen |
- | * Name | + | * Nombre |
- | * Name of the command and a short description of its function(s) | + | * Nombre del comando y una breve descripción de su función(es) |
- | * Synopsis | + | * Sinopsis |
- | * A usage statement including a short list of the options | + | * Una declaración de uso que incluye una lista corta de las opciones |
- | * Description | + | * Descripción |
- | * A detailed explanation of the command | + | * Una explicación detallada del comando. |
- | * Options | + | * Opciones |
- | * Detailed explanation of the command line options for the command | + | * Explicación detallada de las opciones de línea de comando para el comando. |
* Bugs | * Bugs | ||
- | * Known Bugs | + | * Bugs conocidos. |
- | * Author | + | * Autor |
- | * The author(s) of the package and maybe the author of the manpage | + | * El autor (es) del paquete y tal vez el autor de la página del manual |
- | * See also | + | * Ver también |
- | * Advice for manpages about similar or related programs | + | * Consejos para páginas de manual sobre programas similares o relacionados. |
- | If one searches for information about a subject rather than a single | + | Si uno busca información sobre un tema en lugar de un solo comando, la línea |
- | | + | |
- | ===== Searching within a Manpage | + | ===== Buscando dentro de una página de manual |
- | The reader for the manpages is the program | + | El lector de las páginas de manual es el programa |
- | very similar to the vi editor. | + | |
- | * < | + | * < |
- | * < | + | * < |
- | * < | + | * < |
- | The < | + | La tecla <key> Minus </ |
- | possible to search | + | |
- | ===Example=== | + | ===Ejemplo=== |
- | Searching for the // | + | Buscando la opción |
- | // | + | // |
< | < | ||
-h, --human-readable | -h, --human-readable | ||
Línea 143: | Línea 124: | ||
</ | </ | ||
- | ===== Navigation within a Manpage | + | ===== Navegación dentro de una página de manual |
- | Navigation commands are like those in vi: | + | Los comandos de navegación son como los de vi: |
- | * < | + | * < |
- | * < | + | * < |
- | * // | + | * // |
- | One can also **set marks** at a line of the manpage | + | También se pueden |
- | * //< | + | * //< |
- | * //< | + | * //< |
- | Unfortunately these marks are lost when you leave the manpage | + | Desafortunadamente, |
- | done with < | + | |
- | ===== Formatting a Manpage as a PDF-document | + | ===== Formateando una página de manual como documento |
- | If you want to have a manpage as a PDF document you can use the command: | + | Si desea tener una página de manual como documento |
< | < | ||
- | which formats the manpage for the '' | + | que da formato a la página de manual del comando |
- | named " | + | |
- | ===== Further Reading | + | ===== Otras lecturas |
- | For more information read the manpage for the '' | + | Para obtener más información, |
- | manpages listed in "see also". | + | |
====== Sources ====== | ====== Sources ====== | ||
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> |