Search code examples
linuxmanpage

dump linux man pages into a structured/nonstructured dataset


is there a way to dump all linux man pages into a database or set of files? or do they already exist in some formats on the linux system where I can get a copy?


Solution

  • Use following command:

    manpath

    it will show you path of man pages

    example:

    user@Null-Pointer:$ manpath
    /usr/local/man:/usr/local/share/man:/usr/share/man
    

    If you take a look in the directory you will see all tar files..so almost all the man pages are stored in tar archive format and they are extracted on the fly when you ask for some man pages using

    man some-command-