Man” y conseguir ayuda

command --help and man command are the two most important tools at the command line.

Virtually all commands understand the -h (or --help) option which will produce a short usage description of the command and its options, then exit back to the command prompt. Type:

man -h

or

man --help

to see this in action.

Every command and nearly every application in Linux has a man (manual) file. It is as simple as typing man command to bring up a longer manual entry for the specified command. For example:

man mv

brings up the mv manual.

Muévase arriba y abajo por el archivo de manual con las teclas del cursor (las flechas), y salga al intérprete de órdenes con la tecla q.

man man

le da entrada al manual de la orden man lo cual es una buena forma de empezar.

man intro

is especially useful. It displays the “introduction to user commands” which is a well-written, brief introduction to the Linux command line.

There are also info pages, which generally go into more detail than man pages. Try:

info info

for the introduction to info pages.

Buscar archivos man

Si no está seguro de qué orden o aplicación necesita usar, puede buscar en el archivo man.

To search the man files for konsole, try:

man -k konsole

Note

Esto es lo mismo que la orden apropos.

To search only the titles of your system's man files, try:

man -f kde

Note

Esto es lo mismo que la orden whatis.