Rebuild man s Database of Commands


Rebuild man's Database of Commands

man -u

Occasionally you'll try to use man to find out information about a command and man reports that there is no page for that command. Before giving up, try again with the -u option (or --update), which forces man to rebuild the database of commands and man pages it uses. It's often a good first step if you think things aren't quite as they should be.

$ man ls No manual entry for ls $ man -u ls LS(1)             User Commands      LS(1) NAME   ls - list directory contents SYNOPSIS   ls [OPTION]... [FILE]... [Listing condensed due to length] 




Linux Phrasebook
Linux Phrasebook
ISBN: 0672328380
EAN: 2147483647
Year: 2007
Pages: 288

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net