Ubuntu sometimes use the man xxx query function can not find the solution __ function

Source: Internet
Author: User
Tags posix

This is because man doc is incomplete.

For example, after installing Ubuntu, I learned about the UNIX network programming volume for a while, when I used the pthread_mutexattr_setpshared to use the man query.

Searched the next online.


Install the following two packages, the basic function can be traced to the

sudo apt-get install Glibc-doc

sudo apt-get install Manpages-posix-dev

If you still have a query, you can search for that function first in the http://manpages.ubuntu.com/.

Then the top of the page says:

Hardy (3) pthread_mutexattr_setpshared.3posix.gz
Provided By:manpages-posix-dev_2.16-1_all

Then use sudo apt-get install Manpages-posix-dev OK. Multi-Tab complement


I found it again,

Install sudo apt-get install Manpages-zh and then

Use the man to query the common commands when the inside is Chinese ... (Not all Chinese)

such as Man LS, mans grep and so on.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.