previous | start | next

Unix Online Manual: Example 2

Supppose you don't know the exact name of the command or utility, but you know it had something to do with "dumping" a file contents.

You can use the -k option for man. Unfortunately, you may get too many references to man pages to fit on one screen. So it may be helpful to "pipe" the output to the "less" program so you can view a screen at a time. The following command produces 86 lines on our Linux machine:

$ man -k dump   
     

So pipe the output to the screen pager, "less":

$ man -k dump | less    
     

Partial output:

...
objdump              (1)  - display information from object files
od                   (1)  - dump files in octal and other formats
od                   (1p)  - dump files in various formats
perl-XML-Dumper     (rpm) - Perl module for dumping Perl objects
                            from/to XML
pg_dump              (1)  - extract a PostgreSQL database into a
                            script file or other archive file
...     
     

You only get the name of the command and a brief description. But now you can use man on the actual command name.



previous | start | next