Can I find the contents of a man page?
man bash
is almost 6000 lines long, and I would like to know the section headings within the page.
man
Can I find the contents of a man page?
man bash
is almost 6000 lines long, and I would like to know the section headings within the page.
Best Answer
If you just want the section headings,
grep
for them. They are in ALLCAPS and are the only lines that have no leading spaces: