Friday, November 6, 2015

Man Page in Linux


How to view same thing in different man page?????
How to read entire man page without knowing names of a particular command????

There are POSIX Programmer's Manual and Linux Programmer's Manual and Library Functions Manual


To find help on any commands based on what manpage packages have been installed.
qyang@lubuntu-laptop:~$ dpkg --list |grep manpage
ii  manpages                                                    3.74-1ubuntu1                              all          Manual pages about using a GNU/Linux system
ii  manpages-dev                                                3.74-1ubuntu1                              all          Manual pages about using GNU/Linux for development
ii  manpages-posix                                              2.16-1                                     all          Manual pages about using POSIX system
ii  manpages-posix-dev                                          2.16-1                                     all          Manual pages about using a POSIX system for development
#apt-get install manpages-posix manpages-posix-dev
#yum install man-pages
#yum install libstdc++-docs          to see man page of C++ library
$man pthreads
$man ldd
$man pthread_mutex_lock

$man std::iostream
$man std::vector
$man malloc

No comments: