how to browse linux man by section?
how to browse linux man by section?
|
This is a great way here, if you have internet access: http://linux.die.net/man/
For local copies, I am not sure, but if there's a way to browse by section on the local machine, I'll be interested to know it too. :-) |
If you're using KDE, open Help, and scroll right down. All the man pages are available sorted by section.
|
From the command line one way might be to parse the whatis database, looking for a specific section. Example for section 1 man pages:
Code:
grep '(1)' /var/cache/man/whatis You can also create a function to list all the man pages, passing the section number as argument, e.g. Code:
function manls () { |
is there any command or man option to do it in the terminal
|
If your distro has xman, just type that in a terminal. Click on Manual Page to get started. Once you open a page to view, double-click on an entry to get its info. This is good for just plain exploring.
|
@ hindi
Some commands will have more than one section -- eg. crontab When you view a manpage, it will list other relevant man pages for the command An excerpt from man crontab SEE A crontab(5), cron(8) To see those man sections, you would type man 5 crontab man 8 cron |
Sorry for digging this up.
http://shallowsky.com/linux/debnotes.html "mandb -c does what makewhatis does in other distros and other Unices -- builds the whatis/apropos databases. It's part of the man-db package." I also couldn't get xman to work at first but it's usually part of every Xserver in x11-apps. Just type xman and browse the man pages. Gnome Help Browser is called yelp. Looks more neat but has some dependencies. |
Maybe use "info" instead. Quite often has more info (sorry .... :p), and has all the navigation you'll likely want.
|
I am fond of the apropos command to investigate man pages.
For example (this is on Debian Wheezy): Code:
~$ apropos directories |
All times are GMT -5. The time now is 03:58 PM. |